Octavian Rasnita wrote: > 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
Use the standard Cwd module. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]