2009/9/29 Shawn H Corey <shawnhco...@gmail.com>: > Soham Das wrote: >> >> How can I create a Hash of Hashes from two lists. Is it possible? >> >> I want the effective functionality to be served like this >> >> $ChildHash["Joe"]["21A"]="Sally" >> >> i.e Joe at 21A has a child called Sally. List1 here will be the name of >> Parents, List2 here will contain the house number. > > Hashes use {}, arrays use [] >
That's in Python? :-) Perl's both hash and array use (). But anonymous hash and array use {} and []. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/