in reply to Hex format conversion in Perl
If you are on win32, check binmode.#reading local $/ = undef; #trick to read all data in one swoop open FILE, $myfile; my $hex = <FILE>; #or writing: open FILE, ">$myfile"; print FILE $tiff_data;
Hope this helps,
Jeroen
"We are not alone"(FZ)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Hex format conversion in Perl
by epoptai (Curate) on Apr 19, 2001 at 19:20 UTC | |
by jeroenes (Priest) on Apr 19, 2001 at 19:27 UTC |