in reply to Re: Creating vars from URI and printing %ENV
in thread Creating vars from URI and printing %ENV
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;"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re(3): Creating vars from URI and printing %ENV
by Ovid (Cardinal) on Dec 28, 2001 at 23:10 UTC | |
by chromatic (Archbishop) on Dec 30, 2001 at 08:55 UTC |