I have a two dimensional array where each element consists of a reference to
an anonymous array.

        push(@array,[$var1,$var2,$var3]);

When I pass a reference to the array in a subroutine:

        some_sub(\@array);

What is the proper way to dereference the array with in the subroutine?

After much monkeying I was able to get this to work:

        @{$_}->[0][0]


Is there a better, more readable way to do this?

Thanks.
-Robb


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to