jgiller has asked for the wisdom of the Perl Monks concerning the following question:
Neither subsequent array is giving me a list of at the most 20 elements as I would expect. Where am I going wrong? Thanks!my @unique_vault_list; @tapes_for_box1 = $unique_vault_list[0..19]; @tapes_for_box2 = $unique_vault_list[20..$#unique_vault_list];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Array elements in groups of 20
by cdarke (Prior) on May 03, 2006 at 23:10 UTC | |
|
Re: Array elements in groups of 20
by ikegami (Patriarch) on May 03, 2006 at 23:58 UTC | |
|
Re: Array elements in groups of 20
by GrandFather (Saint) on May 03, 2006 at 23:14 UTC | |
|
Re: Array elements in groups of 20
by Cristoforo (Curate) on May 03, 2006 at 23:17 UTC | |
|
Re: Array elements in groups of 20
by Hue-Bond (Priest) on May 04, 2006 at 08:12 UTC | |
|
Re: Array elements in groups of 20
by santonegro (Scribe) on May 04, 2006 at 16:44 UTC |