Thanks a lot! :-)
----- Original Message -----
From: John Mason Jr
To: Paco Zarabozo A. ; [email protected]
Sent: Friday, January 12, 2007 10:40 PM
Subject: Re: Getting Current Working Directory
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
use Cwd;
my $dir = getcwd;
John
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs