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
In reply to Re: Getting hash of CGI variables
by jdtoronto
in thread Getting hash of CGI variables
by Lori713
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |