in reply to Re: Multidimensional array
in thread Multidimensional array

you should de-reference using e.g. print $Mdevices[$k]->[0]

$Mdevices[$k]->[0] is functionally the same as $Mdevices[$k][0] (what the OP had).  You only need the arrow if it's at the 'first' level (i.e. $Mdevices->[0] is not the same as $Mdevices[0] — here, the parser needs some way to disambiguate). In case it isn't ambiguous (between brackets/braces), the arrow is optional.

Replies are listed 'Best First'.
Re^3: Multidimensional array
by Bloodnok (Vicar) on Dec 10, 2008 at 16:10 UTC
    TFT almut, the old saying about a day learning nothing is a day lost just came home to roost - that's another tool for my toolbox.

    It also underlines my sig, doncha think ?

    A user level that continues to overstate my experience :-))