in reply to pushing into arrays of arrays

push references:

push(@array,\@stuff); push(@array,\@morestuff);
arrays and hashes can only hold scalar values; luckily references are scalar values ;-)

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.