Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!bionet!agate!ucbvax!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!star.cs.vu.nl!mgemmel From: mgemmel@cs.vu.nl (Martin Gemmel) Newsgroups: comp.lang.perl Subject: Re: pwd? Message-ID: <9736@star.cs.vu.nl> Date: 17 Apr 91 09:59:19 GMT References: Sender: news@cs.vu.nl Distribution: comp Organization: Math & Computer Science, VU, Amsterdam Lines: 14 In article thoth@reef.cis.ufl.edu (Robert Forsman) wrote: > I have a path in $_ that is relative to the current working >directory. What is the absolute path to that file? > > Hint: it's NOT `pwd`.$_ No, but how about: $ENV{'PWD'}.'/'.$_ >-- >"Rob, you're stupid, and that makes you dangerous." ... >[...] 8-) Martin