my $ref = ref $value; if ( $ref and $ref eq 'HASH' ) { eine_ebene_tiefer( $ref ); }