Help for this page

Select Code to Download


  1. or download this
    Binary "or" returns the logical disjunction of the two surrounding exp
    +ressions. It's equivalent to || except for the very low precedence. T
    +his makes it useful for control flow:
    
            print FH $data        or die "Can't write to FH: $!";
    
  2. or download this
    die unless $live; ## the original line, which I expand a minute later
    
    ...
    die if !($live or $reanimated) or $cooked; ## whooops, error again, lo
    +gic not practiced
    
    die if !($live and $reanimated) or $cooked; ## works again, choice is 
    +choice