Friday, 13 September 2013

Calling perl script from perl

Calling perl script from perl

I have a perl script which takes 2 arguments as follows and calls
appropriate function depending on the argument. I call this script from
bash, but i want to call it from perl, is it possible?
/opt/sbin/script.pl --group="value1" --rule="value2";
Also the script exits with a return value that I would like to read.

No comments:

Post a Comment