## I don't know how you're getting values for $i, $j, $value $hash{$i}{$j} = $value;