Help for this page

Select Code to Download


  1. or download this
    sub func { return (0, 1, 2) }
    
    ...
    } else {
       print "0\n";
    }
    
  2. or download this
    0
    1
    
  3. or download this
    ($result) = func($param)
    
  4. or download this
    if (... and do { ($result) = func($param); 3 })
    
  5. or download this
    if (... and do { ($result) = func($param); $result })
    
  6. or download this
    if (... and $result = (func($param))[0])