Help for this page

Select Code to Download


  1. or download this
    
    #!/usr/bin/perl
    ...
    close PIPE or die " Cannot close pipe : $!";
    print "Wrote $count lines of text \n";
    
  2. or download this
    #!/usr/bin/perl
    use strict;
    ...
      last unless defined (my $line = <>);
      warn " Read_three,got $line\n";
    }