On Tue, Mar 10, 2009 at 02:48:07PM -0600, Doug McNutt wrote: > At 20:25 +0000 3/10/09, John Delacour wrote: > >At 21:10 -0600 9/3/09, Doug McNutt wrote: > >>At 22:24 -0400 3/9/09, Chris Devers wrote: > >>>How can a Perl script reliably, portably resolve the path inside which > >>>it is running?... > "portable" seems to be the key here. Modules good for that.
If you look at the code for Cwd, you can see all the contortions it goes through to be portable. See also the perl versions/platforms matrix generated from CPAN-testers data: http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=PathTools+3.29 -- David Cantrell | Nth greatest programmer in the world Lesbian bigots try to put finger in linguistic dyke: http://news.bbc.co.uk/1/hi/world/europe/7376919.stm