Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: BIN to HEX

by eyepopslikeamosquito (Chancellor)
on Aug 22, 2006 at 11:26 UTC ( #568808=note: print w/replies, xml ) Need Help??


in reply to Re: BIN to HEX
in thread BIN to HEX

If the file is binary, you should add:

binmode MYFILE;
right after the open. Also the line:
if ($byte > 0x30) {
should read:
if (ord($byte) > 0x30) {

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://568808]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-12-08 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.