in reply to Need pipe and parameter help
If I understand you wont something similar to the following:
#warning windows doublequote! echo ECHO | perl -nle "BEGIN{print qq([@ARGV]);undef @ARGV}print" arg1 + arg2 [arg1 arg2] ECHO
L*
PS Follow the the tybalt89 advice (while mine is more a trick): infact @ARGV is different from STDIN see a more detailed post Difference between piped-in and invocation arguments to a Perl script? and a similar one on SO
In the first Corion wisely point to I/O-Operators
L*
|
---|