Code:
printf(”Going to call another script... \n”);
system(”/my_dir/B.pl”); # call another perl script B.pl
exit;
Hi everyone, above is an example that i am using to call another
perl script from the current
perl script.
I have two concerns :
1) This there a better way of achieving the same purpose ( ie call another
perl script from a
perl script)?
2) Notice there is an exit command in my calling script. Will the exit command be executed only after B.pl is completed OR it will be executed immediately B.pl is called?