in reply to RE: RE: splitting question
in thread splitting question
Or instead of subs on each one of the special values (like %20, or %2B), you can try this:Arrrgh! Please, any code that uses pack there was written in the Perl4 days, before we had chr in Perl5. Are you PurlGurl? :)Actually, forget the above and go with CGI.pm. Its much easier...s/%(..)/pack("C", hex($1))/eg;
And of course, the proper thing is yes, use CGI.pm, please.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: RE: RE: splitting question
by BBQ (Curate) on May 22, 2000 at 23:40 UTC |