b4e has asked for the wisdom of the Perl Monks concerning the following question:
won't work, since it converts the hex value into decimal first and then stores it.open (OUTPUT, ">hex.txt"); $data = 0x55; #eg print OUTPUT $data; close OUTPUT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: storing hex data in a file
by dave_the_m (Monsignor) on Aug 11, 2004 at 12:14 UTC | |
|
Re: storing hex data in a file
by ccn (Vicar) on Aug 11, 2004 at 10:40 UTC | |
by bgreenlee (Friar) on Aug 11, 2004 at 10:45 UTC | |
|
Re: storing hex data in a file
by b4e (Sexton) on Aug 11, 2004 at 11:34 UTC | |
by modred (Pilgrim) on Aug 11, 2004 at 11:57 UTC | |
by ikegami (Patriarch) on Aug 11, 2004 at 14:46 UTC | |
|
Re: storing hex data in a file
by doug (Pilgrim) on Aug 11, 2004 at 16:55 UTC |