in reply to Array of Arrays

An array can only hold scalars, so you have an array of array-refs referenced to by $arrays :-)
Try

foreach(@{$arrays}) { print @{$_}; }

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.

Replies are listed 'Best First'.
Re: Re: Array of Arrays
by thinker (Parson) on Jun 27, 2003 at 11:44 UTC
    Hi Tomte,

    To save all the values running into each other, you might want to quote the arrays, like
    print "@$_\n" for @$arrays;
    hope this helps

    thinker