[EMAIL PROTECTED] wrote:
> 
> 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
> 
> The sendscript.pl is in the same directory as the script.
> What am I doing wrong?

If the program does not have executable permissions set you will get
this error and since it is a script you will also need read permission
on the file.

man 1 chmod


John
-- 
use Perl;
program
fulfillment

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to