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