|
|
| There's more than one way to do things | |
| PerlMonks |
Re: How do I use the output of one perls script as the input of another on the commandline? like a pipelineby ikegami (Patriarch) |
| on May 14, 2009 at 22:11 UTC ( [id://764164]=note: print w/replies, xml ) | Need Help?? |
|
Pipes sends the data to the program's standard input, so you need:
But it's better to use the following since <> is more flexible. It reads from STDIN unless file names are specified on the command line (in which case it reads the named files instead).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||