Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 wandering the Monastery: (1)
As of 2017-08-17 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (277 votes). Check out past polls.

    Notices?