Help for this page

Select Code to Download


  1. or download this
    my $pid = open my $fh, "| $some_program"
        or die "Can't run '$some_program': $!\n";
    
  2. or download this
    #!/usr/bin/perl -w
    
    ...
    }
    __END__
    file is 4782.tmp
    
  3. or download this
    $ cat 4782.tmp
    parent (4782) here
    child (4783) here
    reaped PID 4783
    parent (4782) waking up..