Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://871826]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2016-12-08 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.