Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Updating scripts from late 90's

by ikegami (Patriarch)
on Apr 12, 2005 at 15:57 UTC ( [id://447067]=note: print w/replies, xml ) Need Help??


in reply to Updating scripts from late 90's

The snippet fails badly if a poorly encoded URL is provided.
$value =~ s/%([A-Fa-f0-9]{2})/pack("c",hex($1))/ge;
is much more resilliant. Actually, you should be using CGI instead of home grown alternatives to avoid bugs and problems like this one.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://447067]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-20 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found