Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2015-11-30 18:11 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (778 votes), past polls