Octavian Rasnita [mailto:[EMAIL PROTECTED] wrote:

> Thank you, but $0 will tell me the path and the file name of 
> the script.pl file, not the path from where I ran the script.

So the FindBin module is not what you need?

> Now, I could run pwd and get what I want, but in fact I need 
> to run this program under Windows.

How about using getcwd() from the Cwd module? Works fine on
Win32, too.

HTH,
Thomas

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to