P is for Practical | |
PerlMonks |
Re: Adding additional values to a hash of an hash ?by Theseus (Pilgrim) |
on Nov 12, 2002 at 20:24 UTC ( [id://212396]=note: print w/replies, xml ) | Need Help?? |
If you have the hash, and you're only trying to add values to it whenever necessary(not merge it with another hash), you can access it just like this:
This sets the key "key2" in the second(embedded) hash to "value2".
In Section
Seekers of Perl Wisdom
|
|