Help for this page

Select Code to Download


  1. or download this
    package ReadPipe;
    require Exporter;
    ...
    #    cbreak
    #    raw
    #    ultra-raw
    
  2. or download this
    package ReadPipe;
    require Exporter;
    ...
       # print STDERR "\$Pipe = <$Pipe>\n";
       return $Pipe;
    }
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    print "This was the read from the parameters:\n";
    print "<@{ARGV}>\n";
    __END__
    
  4. or download this
    $ ( echo Hi; sleep 3; echo Bye ) | ./ReadAPipe.pl a b c
    This was read from the pipe:
    ...
    
    This was the read from the parameters:
    <a b c>
    
  5. or download this
    #
    #
    ...
       # print STDERR "\$Pipe = <$Pipe>\n";
       return $Pipe;
    }
    
  6. or download this
    #!/usr/bin/perl
    
    ...
    print "This was the read from the parameters:\n";
    print "<@{ARGV}>\n";
    __END__
    
  7. or download this
    $ ( echo Hi; sleep 3; echo Bye ) | ./ReadAPipe.pl a b c
    This was read from the pipe:
    ...
    <a b c>