Thanks.
-----Original Message-----
From: $Bill Luebkert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 September 2003 1:49 PM
To: [EMAIL PROTECTED]
Cc: Perl
Subject: Re: Access to current directory
Mohammed Khatib wrote:
> Does anyone know a way of accessing the current working directory?
> I've looked high and low for this - I thought it might be a special
> variable, but it seems that it's not.
use Cwd;
$dir = cwd;
or
$dir = getcwd;
--
,-/- __ _ _ $Bill Luebkert Mailto:[EMAIL PROTECTED]
(_/ / ) // // DBE Collectibles Mailto:[EMAIL PROTECTED]
/ ) /--< o // // Castle of Medieval Myth & Magic
http://www.todbe.com/
-/-' /___/_<_</_</_ http://dbecoll.tripod.com/ (My Perl/Lakers stuff)
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs