in reply to Re^2: unpack into arrayrefs?in thread unpack into arrayrefs?
Perl is smart enough not to need one:
push @a, [ unpack 'CCSS', substr $data, 0, 6, '' ] while length $data; [download]
🦛