Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: The Drivel is in the Details

by chexmix (Hermit)
on May 31, 2007 at 18:45 UTC ( #618559=note: print w/ replies, xml ) Need Help??

in reply to The Drivel is in the Details


"Why is the -> necessary in $source->{$node}"

IIRC, in the "Alpaca book" the authors make the point that this arrow is optional "between subscripty kinds of things" but NOT in a case like this.

perlreftut also states: "In between two subscripts, the arrow is optional." If you are working with an array reference, the perlreftut continues, "instead of $a[1]->[2], (you) can write $a[1][2]."

Comment on Re: The Drivel is in the Details
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-02-14 19:24 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (470 votes), past polls