in reply to Re: Reading fixed length records
in thread Reading fixed length records

Whilst I'd probably use read in this case, there's no reason why to can't use <>. Setting $/ to a reference to a number will set the number of bytes returned each time.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me