I'm not completely clear why it fails, though. My test file has use lib 't/TestMods'; in it. So I would think the File::Collector would be able to find my module in there. I don't quite follow how existence of '.' in @INC plays into this.
If my theory is right, loading Test::Classifier fails under certain INC. Because requiring these:
use t::TestMods::Test::Processor;
use t::TestMods::Test::TestObj;
in t/TestMods/Test/Classifier.pm, requires an INC of ./
bw, bliako
edit: changed pre to blockquote |