Help for this page

Select Code to Download


  1. or download this
    defined $hash{$name}[$integer]
    
  2. or download this
      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" ; }
    
  3. or download this
      if ( exists $hash{"B"} && defined $hash{"B"}[1] )