Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Arrays and hashes only with references

by wade (Pilgrim)
on Mar 14, 2008 at 17:16 UTC ( #674252=note: print w/ replies, xml ) Need Help??

in reply to Arrays and hashes only with references

I code similarly to this but instead of:

$value = $$arrayref[2];
I prefer:
$value = $arrayref->[2];
The beauty of that notation is that it doesn't treat the outer level of a nest any differently.

Comment on Re: Arrays and hashes only with references
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-11-27 22:48 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (734 votes), past polls