--hrm.

--would 

use Cwd;

--work for you?  i know that i had
--silly problems like this and decided
--it try that just to make sure i was
--where i *thought* i was directory wise ...

-X




-----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?

Reply via email to