good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Re: Re: pushing into arrays of arraysby Crian (Curate) |
on Mar 05, 2004 at 12:37 UTC ( [id://334197]=note: print w/replies, xml ) | Need Help?? |
Just read the post from xdg above your post again. He just pointed out, that you could use copies in such a case using
push @array, [ @localarray ] instead of push @array, \@localarray
In Section
Seekers of Perl Wisdom
|
|