Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: storing hex data in a file

by modred (Pilgrim)
on Aug 11, 2004 at 11:57 UTC ( [id://381943]=note: print w/replies, xml ) Need Help??


in reply to Re: storing hex data in a file
in thread storing hex data in a file

You probably want to take a look at pack then.
my $x = pack("C", 0x55); print $x, "\n";
works for you specific case but I don't have a good grasp of your general case to know if it will work for that.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-03-28 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found