electronicMacks has asked for the wisdom of the Perl Monks concerning the following question:
Fellow monks:
I’m writing a script that (among other things) converts strings to URL encoded format. I’ve been using uri_escape from URI::Escape which works great for some characters (like spaces) but does not, by default, escape characters such as & and ; although it is possile to turn on each of these characters individualy, I can't shake the feeling that there must be a better way...
So, my question is, can anyone recommend a good module that will encode all non alphanumeric characters? How about all but : and /
A humble monk,
electronicMacks
|
---|
Replies are listed 'Best First'. | |
---|---|
(Ovid encoding URLs)Re: URL Escaping
by Ovid (Cardinal) on Dec 28, 2000 at 03:47 UTC | |
Re: URL Escaping
by eg (Friar) on Dec 28, 2000 at 03:33 UTC | |
Re: URL Escaping
by merlyn (Sage) on Dec 28, 2000 at 06:02 UTC |
Back to
Seekers of Perl Wisdom