in reply to Reading fixed length records
What am I doing wrong?
using <> instead of read.
(Golf score: 24)
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.
"Perl makes the fun jobs fun and the boring jobs bearable" - me