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.use strict; use Test::Harness; my @scripts = qw( ../../somedir/anotherdir/script.pl ); runtests(@scripts);
In reply to Finding relative path to called script by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |