http://www.perlmonks.org?node_id=713487

momo33 has asked for the wisdom of the Perl Monks concerning the following question:

Dear perlmonks,

I need my perl program to find its own name and path. This must work under Linux and MS Windows. It is probable very simple, but I have no idea.

Does anyone know the trick?

Thank you.