You want to use read to read it in in chunks, unpack to split it up and push to append it to an array.
A good book is Data Munging with Perl, but if you are learning, try Learning Perl or Programming Perl.
Update: you might want to read about binmode too.
--
Steve Marvell
In reply to Re: Reading Binary
by marvell
in thread Reading Binary
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |