Okay. That makes sense if all you want to do is print them out. I'd probably tackle it with substr in that case though.
$p=0; print( substr $s, $p, 3 ), $p+=3 while $p < length $s;
In reply to Re^4: splitting a sequence using unpack
by BrowserUk
in thread splitting a sequence using unpack
by Rashmun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |