in reply to finding the absolute path to a module, from the module's, perspective
This:Try it again, because that works. If it doesn't work for you, upgrade File::Spec.Gives the same thing.use File::Spec; print File::Spec->rel2abs(__FILE__);
BTW - an absolute path has no "perspective", its an absolute path.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: finding the absolute path to a module, from the module's, perspective
by skazat (Chaplain) on Sep 12, 2004 at 04:36 UTC | |
by PodMaster (Abbot) on Sep 12, 2004 at 04:51 UTC | |
by skazat (Chaplain) on Sep 12, 2004 at 05:00 UTC | |
by ysth (Canon) on Sep 12, 2004 at 06:55 UTC |