Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    while (<STDIN>) {
            print "PROCESSED $_";
    }
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    while ($outputline = <READ>) {
            print $outputline;
    }
    
  3. or download this
    open(RUN, "/usr/local/bin/ticket @ABC|") or die "useful error message 
    +here";