in reply to unpack into arrayrefs?
I don't think there is a way to do that with unpack in just one pass... but...
my @a = map [unpack "CCSS", $_], unpack "(a6)*", $data;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: unpack into arrayrefs?
by Anonymous Monk on Feb 22, 2022 at 19:30 UTC | |
by hippo (Bishop) on Feb 22, 2022 at 21:11 UTC |
In Section
Seekers of Perl Wisdom