Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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;

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 pondering the Monastery: (10)
As of 2016-06-25 21:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (327 votes). Check out past polls.