##
my %hash = ( "A" => [ 1,2 ] ) ;
if ( exists $hash{"B"} ) { say "This will NOT print" ; }
if ( defined $hash{"B"}[1] ) { say "This will NOT print" ; }
if ( exists $hash{"B"} ) { say "This WILL print" ; }
####
if ( exists $hash{"B"} && defined $hash{"B"}[1] )