You could chain the two statements.
my @out = map [ unpack 'Ca*' ], unpack '(a5)*', $data;
In reply to Re: Perlish approach to parsing a binary blob
by ikegami
in thread Perlish approach to parsing a binary blob
by mxb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |