Sisyphus wrote:
> ----- 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.

No it doesn't.  It may or may not be fully qualified.

>     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.)

Correct - unless of course the problem was stated incorrectly.

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to