Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Extending a hash

by apl (Monsignor)
on Apr 21, 2011 at 10:37 UTC ( #900567=note: print w/replies, xml ) Need Help??


in reply to Extending a hash

Consider using (untested)
$hash{a}{name} = 'bob'; $hash{a}{values}[0] = 1; $hash{b}{name} = 'mary';

Log In?
Username:
Password:

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

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













    Results (69 votes). Check out past polls.