> I'm trying to execute a perl script with system("sendscript.pl");
>
> I also tried exec("sendscript.pl");
>
> Both of these return Error: No such file or directory
Put a ./ infront if it's unix.
1)Is it executable? -> ls -l ./sendscript.pl
If not try:
exec("perl ./sedscript.pl")
Or
exec("/usr/bin/perl ./sendscript.pl"):
2)Does it work with the whole path?
exec("/home/joemam/sendscript.pl");
3)Is it spelled right? IE SednScript.pl instead of sendscirpt.pl
4)Is it actually .cgi instead of perl?
>
> The sendscript.pl is in the same directory as the script.
> What am I doing wrong?
>
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]