use v5.12; use warnings; use Cwd qw(abs_path); say 'abs_path($0): ', abs_path($0);
--->
PS D:\transfer_D\d_temp> perl .\temp\tst.pl abs_path($0): D:/transfer_D/d_temp/temp/tst.pl PS D:\transfer_D\d_temp>
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Do modules know the callers full path?
by LanX
in thread Do modules know the callers full path?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |