On 10/29/2017 11:18 PM, ToddAndMargo wrote:
Dear List,
I am trying to translate this P5 coder to P6.
I am looking at how to read a pipe into a line liner:
Follow up:
With the help of the guys on the chat line, here is
the keeper file I wrote myself:
-T
How to read a "pipe":
.lines
On 10/29/2017 11:18 PM, ToddAndMargo wrote:
Dear List,
I am trying to translate this P5 coder to P6.
I am looking at how to read a pipe into a line liner:
ReadAPipe.pl
#!/usr/bin/perl
use strict;
use warnings;
chomp(my $Pipe = ( ! -t \*STDIN ) ? do{local $/; } : q{});
print "This was read
Dear List,
I am trying to translate this P5 coder to P6.
I am looking at how to read a pipe into a line liner:
ReadAPipe.pl
#!/usr/bin/perl
use strict;
use warnings;
chomp(my $Pipe = ( ! -t \*STDIN ) ? do{local $/; } : q{});
print "This was read from the pipe:\n<$Pipe>\n\n";
print "These