Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl Monk, Perl Meditation
 
PerlMonks  

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

by BUU (Prior)
on Feb 25, 2005 at 14:38 UTC ( [id://434622]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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

You know, you're completely correct, and that mostly proves your point about using a module. I theoretially knew what the proper code should be, but I wasn't paying attention and wrote something that was broken and didn't even think about it, the module would have been much easier.
  • Comment on Re^5: Can the "#" character be passed via $ENV{QUERY_STRING} ?

Replies are listed 'Best First'.
Re^6: Can the "#" character be passed via $ENV{QUERY_STRING} ?
by Anonymous Monk on Feb 28, 2005 at 06:27 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://434622]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.