http://www.perlmonks.org?node_id=710809


in reply to Call perl script from within another perl script

I'll play devil's advocate and guess that the logfile does not have write access given to the user which the webserver runs as (http, apache?). Have you run test1.pl as a cgi script, through the web browser?

Insert debugging print messages into the test1.pl script. This would verify if the script is not being executed.