I think you missed what jethro was saying. /cgi-bin/test1.pl is very unlikely to be a file path to the executable. It implies (though guarantees nothing) that / is your webroot. When you're on the command line, where is test1.pl? That's what you're after. You should also be checking the system return and using the multi-arg call. See perldoc -f system or search in here for more.
In reply to Re^3: Call perl script from within another perl script
by Your Mother
in thread Call perl script from within another perl script
by huklberry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |