my ($x,$y,$z) = @{$h{$key}}; $o->{m}[$x][$y][$z] = ...