Help for this page

Select Code to Download


  1. or download this
      # One argument is true
    
    ...
      # All arguments are true
    
      sub all { $_ || return 0 for @_; 1 }
    
  2. or download this
    # One argument is true
    
    ...
      # All arguments are true
    
      sub all { $_ == 'foo' || return 0 for @_; 1 }
    
  3. or download this
    if (all (@array == 'foo')) {