in reply to Working Through An Array In Chunks
my @array = (1 .. 55); while ( my @chunk = splice @array, 0, 20 ) { print "<@chunk>\n"; }
blokhead
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Working Through An Array In Chunks
by Cody Pendant (Prior) on Dec 06, 2004 at 22:43 UTC | |
by Zed_Lopez (Chaplain) on Dec 07, 2004 at 01:42 UTC | |
by Cody Pendant (Prior) on Dec 07, 2004 at 02:36 UTC |