Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    while (<>)
    ...
        print "Pipe process got $_";
        exit(0) if ( $. == 5 );
    }
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
    {
       $deadPipe++;
    }