Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: hashes of hashes

by Utilitarian (Vicar)
on Feb 10, 2011 at 14:05 UTC ( [id://887454]=note: print w/replies, xml ) Need Help??


in reply to hashes of hashes

A hash stores things by key and value vary similar to the way the Berkeley sleepycat DB engine does, so I guess you'd do it that way.

you would have a searchable key and the value could be a hash reference with the names of the other fields as keys of the referenced hashes.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found