Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Dynamic names

by MidLifeXis (Monsignor)
on Nov 16, 2010 at 20:47 UTC ( #871826=note: print w/ replies, xml ) Need Help??


in reply to Dynamic names

Try the following:

$hash->{$name} = { TYPE => 9001, VALUE => "UNINITIALIZED", }

BTW, this is just a hash of hashes, not necessary to be an object, so perlboot is not necessarily the best reference. Try looking for HoH in the monastery.

--MidLifeXis


Comment on Re: Dynamic names
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-07-06 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls