Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: storing hex data in a file

by modred (Pilgrim)
on Aug 11, 2004 at 11:57 UTC ( #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? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2023-06-10 19:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (39 votes). Check out past polls.

    Notices?