Help for this page

Select Code to Download


  1. or download this
          pipe($iopair[0], $iopair[1]) or 
            die "Failed opening pipe in start_reader: $!";
          for (qw(0 1)) { select $iopair[$_]; $|=1;}    #unbuffer pipe I/O
    
  2. or download this
        local * write_child = sub ($) {
          my $out=$_[0];
    ...
          P $iopair[1], $out."\n";
          $SIG{PIPE}='DEFAULT';
        };
    
  3. or download this
        sub close_child_io () {
          Debug "SigCHLD: close iopair[1]";
    ...
          $PathTree::iopair[1] = undef;
          close($tmp);
        };
    
  4. or download this
    [#2576(PathTree::__ANON__)]Child closed
    Warning: unable to close filehandle $iopair[...] properly: Broken pipe
    + at /Users/law.Bliss/bin/lib/P.pm line 509.
    
  5. or download this
    509:   unsee_ret($res);
    510: }
    
  6. or download this
        local * unsee_ret;
        * unsee_ret = sub ($) { 
          delete $p->{__P_seen} if exists $p->{__P_seen}; 
          $_[0] };
    
  7. or download this
    do {  delete $p->{__P_seen} if exists $p->{__P_seen}; 
          $res;};