Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Extending a hash

by apl (Monsignor)
on Apr 21, 2011 at 10:37 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://900567]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found