in reply to Synchronizing Multiple System Processes
or similar. So you can benefit from a better error handling etc. (It could be possible your result file isn't there because script1.pl fails already.)# untestest # ... use lib1 qw(sub_for_perl1); use lib2 qw(sub_for_perl2); #... sub_for_perl1($file_in, $file_out); if ( -e $file_out) { sub_for_perl2($file_out, $final_out); }
|
|---|