Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Hashes Question

by CountZero (Bishop)
on Nov 30, 2012 at 07:08 UTC ( #1006419=note: print w/replies, xml ) Need Help??


in reply to Hashes Question

Something like this?
$MasterHash{'level1'} = sub_return_level_1(); $MasterHash{'level2'} = sub_return_level_2(); $MasterHash{'level3'} = sub_return_level_3();

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006419]
help
Chatterbox?
and a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-03-27 06:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (316 votes). Check out past polls.