Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: hex to ascii, oct to ascii, and back?

by ajwans (Scribe)
on Mar 05, 2002 at 04:09 UTC ( [id://149284]=note: print w/replies, xml ) Need Help??


in reply to hex to ascii, oct to ascii, and back?

Lookup the perldoc on pack and unpack (and printf)

my @hex = unpack ("h*", $ascii_string); foreach my $hex (@hex) { printf ("%c", hex ($hex)); }

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-04-26 01:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found