in reply to Re: Can the "#" character be passed via $ENV{QUERY_STRING} ?
in thread Can the "#" character be passed via $ENV{QUERY_STRING} ?
You don't need to load all of CGI to do this if you are taking the whole QUERY_STRING as a single value. You can use URI:Escape directly. It is an extremely lightweight module.
You'll want to use uri_unescape, like so:
use URI::Escape qw(uri_unescape); my $query_string = uri_unescape $ENV{QUERY_STRING};
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Can the "#" character be passed via $ENV{QUERY_STRING} ?
by BUU (Prior) on Feb 25, 2005 at 06:46 UTC | |
by mdillon (Priest) on Feb 25, 2005 at 14:42 UTC | |
by BUU (Prior) on Feb 25, 2005 at 19:38 UTC | |
by Anonymous Monk on Feb 28, 2005 at 11:27 UTC |
In Section
Seekers of Perl Wisdom