in reply to common replacement code ill-understood

By the way, that looks an awful lot like a url-decoder. Do yourself a favour and use CGI instead.

  • Comment on Re: common replacement code ill-understood

Replies are listed 'Best First'.
Re^2: common replacement code ill-understood
by ambrus (Abbot) on Jun 11, 2006 at 09:29 UTC

    You can use CGI to decode parameters, but it won't decode the main url part. CGI doesn't have a generic %-unescape routine.

      To escape and unescape URI/URL escape characters, use URI::Escape. A very handy module.


      If the information in this post is inaccurate, or just plain wrong, don't just downvote - please post explaining what's wrong.
      That way everyone learns.