Help for this page

Select Code to Download


  1. or download this
    defined %hash          scalar keys %hash
    
    defined @array         scalar @array
    ...
    
    delete $array[$elt]    undef $array[$elt]
           (or)            splice( @array, $elt, 1 )
    
  2. or download this
    sub all_between {
       my ($min, $max ) = @_;
       if ( $min > $max ) { return; }
    ...
    print "\@ar1 is defined\n"   if  defined @ar1;
    print "\@ar2 is defined\n"   if  defined @ar2;
    print "\@ar3 is defined\n"   if  defined @ar3;
    
  3. or download this
    @ar1 is defined