Try reading up on FindBin. It works better on PerlApp-ed executables. Paco Zarabozo A. wrote: > Hello all, > > I'm trying to find a way to let a script know where it is running on > (current working directory). For the moment, i'm getting my CWD by > executing a `pwd` on linux or a `dir` =~ /regex/ on windows. Is there > a more logic function or command in perl to know the CWD? > > Paco Zarabozo > ------------------------------------------------------------------------ > > _______________________________________________ > ActivePerl mailing list > [email protected] > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
