in reply to Capturing input from pipe?
A pipe passes the output of one command to the input of another. So, to read the output of your echo command, read from STDIN. An example myscript.pl might be:
#!/usr/bin/perl print <>;
|
---|
In Section
Seekers of Perl Wisdom