Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2016-10-01 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (576 votes). Check out past polls.