RE: Finding the current path

2003-10-27 Thread Thomas Bätzler
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 t

Re: Finding the current path

2003-10-27 Thread Octavian Rasnita
ggins d'Anconia" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, October 26, 2003 7:12 PM Subject: Re: Finding the current path > Octavian Rasnita wrote: > > Hi all, > > > > Does an

Re: Finding the current path

2003-10-27 Thread Octavian Rasnita
ROTECTED]> To: "'Octavian Rasnita'" <[EMAIL PROTECTED]> Sent: Sunday, October 26, 2003 6:40 PM Subject: RE: Finding the current path > Teddy, > > It should be part of $0. > > HTH, > > Charles K. Clarkson > -- > Head Bottle Washer, &

Finding the current path

2003-10-26 Thread Octavian Rasnita
Hi all, Does anyone know if it is possible to find out the path in which a perl program is launched? For example, I am in /var/www and I run the following command: perl /home/script.pl And I want it to give me the result: /var/www Thank you very much. Teddy, teddy.fcc.ro [EMAIL PROTECTED

Re: Finding the current path

2003-10-26 Thread Wiggins d'Anconia
Octavian Rasnita wrote: Hi all, Does anyone know if it is possible to find out the path in which a perl program is launched? For example, I am in /var/www and I run the following command: perl /home/script.pl And I want it to give me the result: /var/www Thank you very much. Check out FindBi