in reply to Re^4: How do track down underlying reason for smoke test failure
in thread How do track down underlying reason for smoke test failure

Yes I guess. Although use lib 't/TestMods'; (and changing all use t::TestMods::XXX; to use XXX; maybe more in the spirit of removing . from INC for security purposes ... (* I am hardly an expert, please get 2nd opinion)

Replies are listed 'Best First'.
Re^6: How do track down underlying reason for smoke test failure
by NERDVANA (Priest) on Sep 14, 2019 at 02:28 UTC
    "In the spirit of removing ." is to remove all path references that depend on the current directory, which is dynamic and depends what other code has executed inbetween.
    use FindBin; use lib "$FindBin::Bin/TestMods"