Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Understanding and Knowledge

by wind (Priest)
on Apr 15, 2011 at 18:58 UTC ( #899669=note: print w/ replies, xml ) Need Help??


in reply to Understanding and Knowledge

Only thing I'd change is to use the character class \w

$understanding =~ s/(\w{2})/chr hex $1/eg;


Comment on Re: Understanding and Knowledge
Download Code
Replies are listed 'Best First'.
Re^2: Understanding and Knowledge
by Anonymous Monk on Apr 18, 2011 at 13:33 UTC

    Thanks! That works quite well. The char capturing regex class slipped my mind.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (16)
As of 2015-07-30 16:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls