Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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';