The stupid question is the question not asked | |
PerlMonks |
Arrays that points to another arrayby TASdvlper (Monk) |
on Jan 29, 2004 at 20:59 UTC ( [id://325037]=perlquestion: print w/replies, xml ) | Need Help?? |
TASdvlper has asked for the wisdom of the Perl Monks concerning the following question:
All,
I would like to set up an array that points to another array (basically, each index points to another anonymous array). But, I want to build the second array within a for loop. For example: I tried using push($myarray[0], $_) within the for loops, but that didn't work. Any thoughts on how to do this ? Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|