On 12/4/13 7:13 PM, Marvin Humphrey wrote:
A nasty little workaround is put some `use lib` directives at the top of
devel/benchmarks/indexers/lucy_indexer.plx which allow it to be run from
within `$REPOS_ROOT/perl/`. I think that's our only realistic option, right?
I don't know how nasty it is. I usually do something like:
use FindBin;
use lib "$FindBin::Bin/../lib";
in many of my cli scripts, to solve this very problem. Of course, the
number of ../lib levels depends on the file struct.
--
Peter Karman . http://peknet.com/ . [email protected]