Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 meditating upon the Monastery: (5)
As of 2016-08-29 00:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (397 votes). Check out past polls.