$ perl -wE 'say for unpack "(A4)*", "74657374"' 7465 7374
But maybe there's a shorter way to do what you want with pack and unpack. See perlpacktut for a gentler introduction.
In reply to Re: Process a set num of characters at a time
by moritz
in thread Process a set num of characters at a time
by learningperl01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |