in reply to pushing into arrays of arrays
push references:
arrays and hashes can only hold scalar values; luckily references are scalar values ;-)push(@array,\@stuff); push(@array,\@morestuff);
Update: Maybe it helps to read over perldata and perlref again...
regards,
tomte
Hlade's Law:
If you have a difficult task, give it to a lazy person --
they will find an easier way to do it.
|
|---|