Welcome to the Monastery | |
PerlMonks |
Re^6: Can the "#" character be passed via $ENV{QUERY_STRING} ?by Anonymous Monk |
on Feb 28, 2005 at 11:27 UTC ( [id://435021]=note: print w/replies, xml ) | Need Help?? |
You are both correct. s/%(\d\d)/chr $1/eg will do fine if all you care about are encoded #'s (but then, you might as well use the faster and shorter s/%23/#/g). But if you want to be more general, use what mdillon states.
In Section
Seekers of Perl Wisdom
|
|