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