theguvnor has asked for the wisdom of the Perl Monks concerning the following question:
Anyone know a super-easy way for your program to determine at run-time the directory in which it is running? E.g. perl special variable, etc.
Oh, and in case you're wondering why I want to know, I use several different machines while developing and want to not have to change directories in the test scripts.
Thanks,
Jon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Directory in which your program is running...
by merlyn (Sage) on Jan 26, 2003 at 18:05 UTC | |
by theguvnor (Chaplain) on Jan 26, 2003 at 18:21 UTC | |
by merlyn (Sage) on Jan 26, 2003 at 18:34 UTC | |
by virtualsue (Vicar) on Jan 26, 2003 at 20:46 UTC | |
by theguvnor (Chaplain) on Jan 28, 2003 at 03:11 UTC | |
|
Re: Directory in which your program is running...
by broquaint (Abbot) on Jan 26, 2003 at 18:08 UTC | |
|
Re: Directory in which your program is running...
by pfaut (Priest) on Jan 26, 2003 at 18:07 UTC |