Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Pack uneven length hex

by james28909 (Deacon)
on Nov 23, 2018 at 14:50 UTC ( #1226232=note: print w/replies, xml ) Need Help??


in reply to Pack uneven length hex

$string =~ s/(.)/sprintf("%02x",ord($1))/egs;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2020-04-03 22:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (32 votes). Check out past polls.

    Notices?