in reply to Re^2: parse $ENV{'QUERY_STRING'}
in thread parse $ENV{'QUERY_STRING'}
If you are using CGI consider using the param method:
my $q = CGI->new; my $name = $q->param('name'); warn $name;
You can run this from the command line by passing parameters ./cgi.pl name=Derp.
However if you want to run this without a web server do you really need to use CGI at all? Perhaps if you write a short explanation of what you're trying to achieve people can provide better advice. If you do need to write something for the web, consider using Mojoliciouis::Lite rather than CGI.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: parse $ENV{'QUERY_STRING'}
by Anonymous Monk on Jun 30, 2017 at 13:46 UTC | |
by marto (Cardinal) on Jun 30, 2017 at 14:02 UTC | |
by Anonymous Monk on Jun 30, 2017 at 14:09 UTC | |
by roboticus (Chancellor) on Jul 01, 2017 at 00:29 UTC | |
by Anonymous Monk on Jul 03, 2017 at 14:10 UTC | |
by Anonymous Monk on Jun 30, 2017 at 19:10 UTC |