Hi,
Is there a way to get the path of the Perl who called a script.

For example:
I have a script which resides at C:\MyScripts\this_script.pl.

Now I can run it by:
C:\perl\bin\perl.exe C:\MyScripts\this_script.pl
or
D:\perl5.10\bin\perl.exe C:\MyScripts\this_script.pl

How can I tell which one is executing the script?

Thanks,
YG
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to