in reply to incrementing array name
sub seperate_data {
This will give you an array of arrays.push(@{$arrays}, [split(/ /,$data[$a])]); }
Update: How could I miss the brackets? Thanks gjb for showing it.
Update 2 (see below):$array->[0][0] being the first element of your first array and $array->[1][0] being the first element of your second array...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: incrementing array name
by gjb (Vicar) on Jun 23, 2003 at 12:23 UTC | |
by Skeeve (Parson) on Jun 24, 2003 at 06:32 UTC | |
by Lhamo_rin (Friar) on Jun 23, 2003 at 18:42 UTC |