in reply to Re^3: splitting a sequence using unpack
in thread splitting a sequence using unpack
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: splitting a sequence using unpack
by Anonymous Monk on Mar 01, 2005 at 13:05 UTC | |
by BrowserUk (Patriarch) on Mar 01, 2005 at 13:21 UTC |