Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Writing a string of bits to a file, binary-style

by btrott (Parson)
on Jun 15, 2001 at 02:09 UTC ( [id://88650]=note: print w/replies, xml ) Need Help??


in reply to Writing a string of bits to a file, binary-style

You mean, you want to interpret your binary string as bits? Use pack:
print FH pack 'B*', '101010101010';
Will that do it for you?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-28 20:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found