Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://674252]
help
Chatterbox?
[erix]: hm zipfile-SQLite sounds useful, have you tried it already, Corion?
[erix]: and good morning (sorry :))
[Corion]: erix: Naah, I just saw the announcement and remembered that discussion. Maybe I'll try building a DBD::SQLite with the zip stuff built-in, just for fun
[Corion]: Oh - and a good morning to you too :)

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2018-01-24 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (256 votes). Check out past polls.

    Notices?