in reply to Re: Cygwin/perl PATH oddities
in thread Cygwin/perl PATH oddities
Basically, when I put the script in /usr/local/bin/ (which is a PATH), I am allowed to run it in any directory without specifically enumerating the path to the script. For example, if I am in /home/mrdan/, I do not have to specify my path as ../../usr/local/bin/script.pl. Running it in this manner produces the problem.
However, if I do navigate to /usr/local/bin and type ./script.pl, I do not encounter the problem.
I am sure you were already familiar with the concept of PATHs, but hopefully this clears things up a bit.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Cygwin/perl PATH oddities
by syphilis (Archbishop) on May 14, 2008 at 02:02 UTC |