How do I use the output of one perls script as the input of another on the commandline? like a pipelineby Gretter (Novice)
|on May 14, 2009 at 19:00 UTC||Need Help??|
Gretter has asked for the
wisdom of the Perl Monks concerning the following question:
Thanks for all the comments. Especially to thelonius.
I've done a lot of searches on google, but apparently I don't know the terms to search for.
I hope this gives and idea of what I want. Script one:
In bash I would then write:<br ./one.pl "one" | ./two.pl ... and hope for the output of: "one and two"
I would pass @ and not $ in the real code.