Help for this page

Select Code to Download


  1. or download this
    open FOO, '<', $foo
        ||  die "Could not read $foo: $!\n";
    
  2. or download this
    if( $foo->is_ready() and $foo->needs_munging() ) {
        $status = $foo->munge();
    } else {
        $status = $foo->status();
    }
    
  3. or download this
    $status = $foo->is_ready() and $foo->needs_munging()
        ? $foo->munge() : $foo->status();