Help for this page

Select Code to Download


  1. or download this
    my @array1;
    my @array2 = some_code();
    
  2. or download this
    if (@array1) {
      print "not empty\n";
    }
    
  3. or download this
      return (); # an empty list
    
  4. or download this
      return undef; # undefined scalar
    
  5. or download this
      return;  # "return false"