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 []
$ChildHash{"Joe"}{"21A"} = "Sally";
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
I like Perl; it's the only language where you can bless your
thingy.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/