in reply to Getting hash of CGI variables
foreach my $name ( $CGI->param() ) { my $value = $CGI->param($name); print "The value of $name is $value<br>"; }
$CGI->Vars; is just a simple way of impoting the whole hash ionto your main:: Namespace
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Getting hash of CGI variables
by Lori713 (Pilgrim) on Jan 22, 2004 at 20:46 UTC |