Would this work for you?

 

http://www.perl.com/doc/manual/html/lib/Cwd.html

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
John Townsend
Sent: Tuesday, May 15, 2007 11:33 AM
To: [email protected]
Subject: How do I know where my Perl script is running?

 

Here's my situation: 

My script is executed by a larger system, from some abitrary directory.
How can I tell from which directory my Perl script was executed?

I guess I'm looking for something like pwd from UNIX. 

 

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to