some of the "scripts" also include the spawned child processes and hence it
is absolutely essential that I run the script exactly the way it will be run
in the directory it is present in. Is there anyway of accomplishing this?

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 24, 2002 8:26 PM
To: srinivas krish
Cc: [EMAIL PROTECTED]
Subject: Re: execution directory



>And this test.pl script uses some other
>scripts in directory A to do some processes

Are these "scripts" subroutines?  How are they "called" by script A?

If they are subroutines, simply insert the following line just before
they are called:

unshift (@INC, "{absolute path of directory A}")

Of course, do not forget inserting  the following

require '{name of your script 1}';


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to