On Mon, 07 Oct 2002 05:49:38 +0000 purnima nagar <[EMAIL PROTECTED]> wrote:

> I have perl scripts in a directory. I need to run those scripts almost from 
> anywhere its being called from. For this I gave ./filename.....its not 
> working. I checked with the file permission..its 711 i.e, rwx--x--x for all 
> the script files.

If you are trying to use ./filename to execute a script from outside its
own directory, you have more problems than 'its not working'.  You need to
read the fine manual..  Try 'man sh' or 'man csh' depending on what shell
you are using.

Script files normally need to be readable as well as executable.  If anyone
other than the owner is going to run them, you'll need 755 for permissions.

This is not a DBI or even Perl question, it's basic UNIX shell.
-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

Reply via email to