Welcome to the Monastery | |
PerlMonks |
Finding relative path to called scriptby Anonymous Monk |
on Jul 26, 2006 at 14:33 UTC ( [id://563805]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello revered monks,
I am using Test::Harness to call a test script using a relative path. i.e.
The problem is that my script.pl use relative "use lib" statements. My question is what is the best way for a script to know what its path is relative to the calling script. Any help will be greatly appreciated.
Back to
Seekers of Perl Wisdom
|
|