Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
anduse strict; use warnings; use CGI my $form = new CGI; foreach(keys %$form) { print "$_ = $form->param($_}\n"; }
both seem to fail. Any ideasuse strict; use warnings; use CGI my $form = new CGI; foreach(keys %{$form->param}) { print "$_ = $form->param($_}\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI Forms
by ikegami (Patriarch) on Jun 09, 2005 at 18:33 UTC | |
|
Re: CGI Forms
by Ovid (Cardinal) on Jun 09, 2005 at 18:32 UTC | |
|
Re: CGI Forms
by tlm (Prior) on Jun 09, 2005 at 18:35 UTC | |
by perleager (Pilgrim) on Jun 09, 2005 at 18:40 UTC | |
by tlm (Prior) on Jun 09, 2005 at 18:57 UTC | |
|
Re: CGI Forms
by waswas-fng (Curate) on Jun 09, 2005 at 19:05 UTC | |
|
Re: CGI Forms
by perleager (Pilgrim) on Jun 09, 2005 at 18:31 UTC |