-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 12, 2001 8:45 AM
To: [EMAIL PROTECTED]
Subject: CGI.pm moduleGiven the following simple "read file" code...
# Read file
$s=$/;
undef $/;
open(FILE, "$nt_dir\\$formfile");
$file=new CGI(FILE);
close(FILE);
$/=$s;Now, how do I just peruse through all of the HTML tags (like <input type="text" name="username" value="jsmith">)? I want to change value="", selected, checked, etc., to the values passed from a previous submit.
I've looked at the docs for CGI.pm, CGI::Pretty, HTML::Form, HTML::Parser, HTML::FillInForm, HTML::TokeParser, with nothing to show for it. I'm kinda frustrated. So far, the only suggestions have been "look at this or that module."
I can do it using clever regexp substitutions, but I'd prefer a more elegant solution.
TIA.
-WM <><
Title: CGI.pm module
Hi
William.
It
sounds like you need some sort of template based
solution.
HTML::Template is one such implementation. More
information
can
be found at:
(I
know this is a 'look at this or that module' answer, sorry
if
it doesn't help. I use a similar, home grown, solution
at
work. If I had known more about things when I
started I might
not
have rolled my own.)
-Keith
- CGI.pm module william . meitzen
- Re: CGI.pm module Ron Grabowski
- Re: CGI.pm module Keith Calvert Ivey
- Mcclelland, Keith
