laziness, impatience, and hubris | |
PerlMonks |
Re: Re: Re: Dump a directory as links from CGIby epoptai (Curate) |
on May 31, 2001 at 06:51 UTC ( [id://84440]=note: print w/replies, xml ) | Need Help?? |
Thanks for indicating the subtle difference.
I've been struggling with this very issue recently and came across a url here at perlmonks that uri_escape doesn't handle, and requires CGI::escape. This small CGI program compares uri_escape and escape by producing two links to perlmonks: The 1st print using uri_escape on the whole url returns: http://www.perlmonks.org/index.pl?node=Clive%20;-) The 2nd print using CGI::escape on the param only, yields: http://www.perlmonks.org/index.pl?node=Clive%20%3B-%29
As you can see the semicolon is causing a problem in the
uri_escape url.
--
In Section
Cool Uses for Perl
|
|