developer has asked for the wisdom of the Perl Monks concerning the following question:
The question is How do I get all the FDATE fields and How do I update each one with different dates?. Here is my code to get the name and values.
Thanks for your help in advance.use LWP::UserAgent; use HTML::Form; my $ua = LWP::UserAgent->new; my $response = $ua->get("http://www.hellp.com/test.exe"); my @forms = HTML::Form->parse($response->content, $response->base); foreach $form(@forms) { @names = $form->param; foreach $name(@names) { @values = $form->param( $name ); foreach $values(@values) { print "Name:$name Value of:$values \n"; } } #print "$form \n"; }
Edit by castaway - added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTML::Form question
by NovMonk (Chaplain) on Mar 12, 2004 at 17:10 UTC | |
by developer (Novice) on Mar 12, 2004 at 17:56 UTC | |
by NovMonk (Chaplain) on Mar 12, 2004 at 20:54 UTC | |
|
Re: HTML::Form question
by Theo (Priest) on Mar 12, 2004 at 17:27 UTC |