Re: run perl script with cmd line in shellby Sandy (Curate)
|on Apr 16, 2012 at 12:28 UTC||Need Help??|
I am truly confused as what it is that you are asking.
Are you asking to pass parameters which are outputs from a perl script to another perl script?
Use the unix backticks to execute your perl program on the command line first...
perl -e 'print "@ARGV\n"' `perl -e '@x=(1..5);print "@x\n"'`
or, pipe the output from one perl script into stdin of 2nd perl script
Like I said, I am unsure if this is what you are asking.