Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: How can POE use a hash reference like a hash?

by rcaputo (Chaplain)
on Dec 27, 2008 at 15:48 UTC ( #732810=note: print w/replies, xml ) Need Help??


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

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://732810]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2022-09-27 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (118 votes). Check out past polls.

    Notices?