Re: URI::Escape
Randal L. Schwartz (merlyn@stonehenge.com)
20 Jul 1999 09:22:58 -0700
>>>>> "Kevin" == Kevin Stephens <ksteph@suburbialost.com> writes:
>> Maybe you want the URI->new constructor instead, especially
>> with the ->query_form method.
Kevin> This uses the same method to escape (uri_escape), so what
Kevin> difference would that make?
No it doesn't.
$ perl
require URI;
$x = URI->new('http://www.stonehenge.com/cgi/wtsearch');
$x->query_form(search => 'ord($&)', regex => 'off');
print "$x";
^D
http://www.stonehenge.com/cgi/wtsearch?search=ord(%24%26)®ex=off
$
It makes all the difference in the world. :)
--
Name: Randal L. Schwartz / Stonehenge Consulting Services (503)777-0095
Keywords: Perl training, UNIX[tm] consulting, video production, skiing, flying
Email: <merlyn@stonehenge.com> Snail: (Call) PGP-Key: (finger merlyn@teleport.com)
Web: <A HREF="http://www.stonehenge.com/merlyn/">My Home Page!</A>
Quote: "I'm telling you, if I could have five lines in my .sig, I would!" -- me