Try...

system("perl sendscript.pl");

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 16, 2003 12:27 PM
To: [EMAIL PROTECTED]
Subject: system function


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?


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

Reply via email to