Hi, I'm new in Perl, and I need to analyze a binary file, byte per byte.

$/ = undef;
open FILE, "file.bin" or die $!;
binmode FILE;
my $data = <FILE>;

is that ok? how can I get one byte, the next, the next, etc?
Thanks in advance!!

Christian

_________________________________________________________________
Charla con tus amigos en línea mediante MSN Messenger: http://messenger.yupimsn.com/



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to