http://www.perlmonks.org?node_id=435021


in reply to Re^5: Can the "#" character be passed via $ENV{QUERY_STRING} ?
in thread Can the "#" character be passed via $ENV{QUERY_STRING} ?

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.