On Thu, 21 Sep 2006 10:25:19 -0500, Tony Frasketi wrote:
> sub decodeURL {
> $_ = shift;
> tr/+/ /;
> s/%(..)/pack('c', hex($1))/eg;
> return($_);
> }Please don't reinvent the wheel. use URI::Escape; $unescaped = uri_unescape($url); -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
