in reply to Re: How can POE use a hash reference like a hash?
in thread How can POE use a hash reference like a hash?

... not in all cases - Re^2: Multidimensional array.

A user level that continues to overstate my experience :-))
  • Comment on Re^2: How can POE use a hash reference like a hash?

Replies are listed 'Best First'.
Re^3: How can POE use a hash reference like a hash?
by rcaputo (Chaplain) on Dec 27, 2008 at 15:48 UTC

    That node seems to agree with me: Arrows are optional between two subscripts.

    In $x->[0]->[1], $x is not a subscript but both [0] and [1] are. We may remove the second arrow without changing the expression, giving $x->[0][1]. The arrow between $x and [0] isn't between two subscripts, however, so it is required to maintain equivalence with the original expression.