in reply to Re: 3d arrays
in thread 3d arrays
my $HoH = { 101.67 => { 80 => 5 } , 312 => { 67.8 => 7 } };
Then you can retrieve the values with $HoH->{312}{67.8}.
Just be aware that hash keys are strings, so use sprintf if you get them from variables, or you're going to get strange results.
|
---|