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