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


in reply to Re^3: Call perl script from within another perl script
in thread Call perl script from within another perl script

test1.pl is in the /cgi-bin directory. That's where all my perl scripts are located.

[localhost cgi-bin]# pwd
/cgi-bin
[localhost cgi-bin]# ll test1.pl
-rwxr-xr-x 1 root root 191 2008-09-11 21:14 test1.pl

  • Comment on Re^4: Call perl script from within another perl script

Replies are listed 'Best First'.
Re^5: Call perl script from within another perl script
by Your Mother (Archbishop) on Sep 12, 2008 at 04:10 UTC

    I'll be darned. Well, again, try checking the return value of the system call; or throw in a couple print "blah, blah" unless -e '/cgi-bin/test1.pl'; print "blah, blah" unless -x _; debug statements.