my @array2 = map {[split "\n"]} @array; print "@{$array2->[1]}";
So, each element in @array2 contains a reference to a list created from the corresponding element in @array;
Hope this helps.
Liz
In reply to Re: split an array into and array???
by liz
in thread split an array into and array???
by splatohara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |