Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Access Hashes of Hashes etc.

by Utilitarian (Vicar)
on Sep 14, 2011 at 09:39 UTC ( [id://925849]=note: print w/replies, xml ) Need Help??


in reply to Access Hashes of Hashes etc.

Is there a handy perl trick I am missing?
'fraid not, it's just a matter of practice, given time you'll be able to read/write accessors to deeply nested variables easily, in the interim, run your finger along the screen writing down what you've seen with the other hand ;)

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."

Replies are listed 'Best First'.
Re^2: Access Hashes of Hashes etc.
by Caio (Acolyte) on Sep 14, 2011 at 10:50 UTC
    I don't know if this is exactly what the OP is looking for, but if it is, as a newbie I find it easier to know how to dereference these structures once I literally draw myself a map on paper, writing down what kind of information goes where in the structure, etc.

    Hope it helps.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-16 20:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found