in reply to How do I use the output of one perls script as the input of another on the commandline? like a pipeline
If you fix your programs by changing $arg shift @ARGV to $arg = shift @ARGV, then you can get the effect that I think you want by doing (in bash):
./two.pl $(./one.pl "one")
|
---|