Hi,
I know how to stor multiple values in has table with single key.Basically HOH
But i am not able to do the same when the hash has multiple keys
I am trying something like this and when i try to print it gives garbage value for the has keys..
my $referenceTable
foreach (@port) {
undef $referenceTable->{$key1}->{$key2}->{$_}
}
my ($k,$j,$v);
while (($k,$j,$v) = each(%{$referenceTable})) {
print "Hash key is $k and $j \n";
print "Values stored in the hash for $k are:\n";
foreach (keys %{$v}) {
print "$_\n";
}
print "\n"
Any idea what I am doing wrong. Or any suggestions on how to do HOH with multiple keys?
Thanks
R