and time and time again I have to say:my $cgi = CGI->new; my %param = map { $_ => $cgi->param($_) } $cgi->param();
If you want the symlinks still, there is always CGI::Liteuse CGI 2.79; my $cgi = CGI->new; my %param = $cgi->Vars;
%form = ('name' => 'shishir gundavaram', 'sport' => 'track and field', 'events' => '100m'); $cgi->create_variables (\%hash); #now you have: $name, $sport and $events. Convenient, huh?
___crazyinsomniac_______________________________________
Disclaimer: Don't blame. It came from inside the void
perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"
In reply to (crazyinsomniac) Re^2: Creating vars from URI and printing %ENV
by crazyinsomniac
in thread Creating vars from URI and printing %ENV
by hacker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |