Close, but no cookie ;-) I think you want something like this:
since otherwise you'll end up with a long list rather than a list of lists.sub seperate_data { push(@{$arrays}, [split(/ /,$data[$a])]); }
Hope this helps, -gjb-
In reply to Re: Re: incrementing array name
by gjb
in thread incrementing array name
by Lhamo_rin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |