Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: common replacement code ill-understood

by davido (Cardinal)
on Jun 11, 2006 at 05:45 UTC ( [id://554655]=note: print w/replies, xml ) Need Help??


in reply to common replacement code ill-understood

It matches a two-digit hexidecimal number preceded by a %. That entity ( %7F, for example) is converted to a base-10 equivalent (some number between 0 and 255), and then that number is converted into a single byte, and substituted into the original string in place of the original hexidecimal entity.

See perlre, hex, and pack for further information.


Dave

  • Comment on Re: common replacement code ill-understood

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-25 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found