There's more than one way to do things | |
PerlMonks |
Adding elements to a array referenceby TASdvlper (Monk) |
on Jan 15, 2004 at 15:15 UTC ( [id://321572]=perlquestion: print w/replies, xml ) | Need Help?? |
TASdvlper has asked for the wisdom of the Perl Monks concerning the following question:
All,
I have a array reference, which points to other arrays. What I would like to do is to add more data to the array before I print it out. print code:
say I have a new array How do I add that to array @array ? I'm probably overlooking over something easy. I know I can't use 'push' because the elements of @array are references. Any help would be appreciated.
Back to
Seekers of Perl Wisdom
|
|