That's work for unpack
$s = 'abcdefg'; $ml = 3; @result = unpack 'A3A3A3', $s;
In reply to Re: chopping a string into slices - is there a more elegant way to do it?
by ccn
in thread chopping a string into slices - is there a more elegant way to do it?
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |