perldoc -f system
or check out the "backtick" operator. Use system if you are just wishing to receive the result code from execution, use the backticks if you need to capture the output of the command. You might also check out the expect module on CPAN and see if you can bring all of the various scripts into Perl if you so desire.

http://danconia.org

Anthony Barkley wrote:
Hello,
I have a perl script that needs to run other scripts in the same directory.
The program is located in the /usr/bin/perl
as well as the other scripts that its has to run. Those other scripts are Expect scripts that requier a parameter to run.
example from command line:
../change pod
would run the script "change" with "pod" as a parameter.
I would like for my perl program to do that!
My perl program already captures the pod paramater but I cannot figure out how to get perl to call the file ./change and pass it the "pod" paramater!
Thx
Anthony



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to