llancet has asked for the wisdom of the Perl Monks concerning the following question:
I want to use external libraries made by myself. Those modules are located with the main script. However, we know it is unsave to just say:
, because the "./" in @INC is with the location where the script is runned.use MyModule;
Moreover, I don't want to copy those modules to an fixed location. So, how can I get the position?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Get module's location savely?
by cdarke (Prior) on Nov 12, 2009 at 08:20 UTC | |
|
Re: Get module's location savely?
by happy.barney (Friar) on Nov 12, 2009 at 11:28 UTC | |
|
Re: Get module's location savely?
by Bloodnok (Vicar) on Nov 12, 2009 at 11:53 UTC | |
|
Re: Get module's location savely?
by dsheroh (Monsignor) on Nov 12, 2009 at 11:51 UTC |