for my $what ( keys %should_have_been_an_array ) { for my $the ( keys %{$should_have_been_an_array->{$what}} ) { $some_magic_switch_used_later_probably = 1 if fullmoon($the->{halfmoon}); for my $hell ( keys %{$should_have_been_an_array->{$what}->{$the}} ) { my $readable = $should_have_been_an_array->{$what}->{$the}->{$hell}; for my $are ( keys %{$readable} ) { for my $you ( keys %{$readable->{$are}} ) { my @sorted = _some_other_thing(%{$readable->{$are}{$you}}); for my $doing ( @sorted ) { if ( $doing ) { # … } elsif ( $doing->{some_shim_not_in_the_actual_data} || $should_have_been_an_array->{$what}{SKIP} ) { # … } elsif ( $thirteen_elsifs_later_without_an_else ) { # …