in script1.pl .......... system("perl script2.pl"); .......... #### in script1.pl ..... if ( some condition) { system("perl script2.pl"); }