----- Original Message ----- 
From: "Wagner, David --- Senior Programmer Analyst --- WGO" 
<[EMAIL PROTECTED]>

  $0 holds the name of the file executing your script. It appears as
fully qualified name.
    I don't think the cwd will give you what you want as regards the
script being executed. ( In fact I know it won't) Use $0.
-------------------------------------------------

I think OP was asking how to determine the cwd, not how to determine the 
location of the script - "How can I tell from which directory my Perl script 
was executed?"

(In which case Cwd should be fine.)

Cheers,
Rob

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

Reply via email to