in reply to How do I use the output of one perls script as the input of another on the commandline? like a pipeline
I'm sure you have read perlrun. It says:
Upon startup, Perl looks for your program in one of the following places:
- Specified line by line via -e or -E switches on the command line.
- Contained in the file specified by the first filename on the command line. (Note that systems supporting the #! notation invoke interpreters this way. See "Location of Perl".)
- Passed in implicitly via standard input. This works only if there are no filename arguments--to pass arguments to a STDIN-read program you must explicitly specify a "-" for the program name.
Maybe you can help us improve the documentation and tell how to express this more clear?
|
|---|