in reply to Re: prove can't find my module, even though its directory is in $INC[0]
in thread prove can't find my module, even though its directory is in $INC[0]
My example showing how Perl could find the module was actually perldoc -l which correctly identified the source as /home/henry/gitr/MAS/lib. So Perl's own module-search routines are working OK.
I tried the -I option, with the same baffling result:
/usr/bin/prove -I/home/henry/gitr/MAS/lib ./t/8bit.t ./t/8bit.t .. Can't locate MAS::Global in @INC (@INC entries checked: +/home/henry/gitr/MAS/lib ... etc
The section in the docs that you point out, that there's a separate set of options passed to "options passed to the perl which runs tests" is interesting; but use of the -I option, as it recommends, shows that that's not the problem either.
I remain baffled, and stymied ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: prove can't find my module, even though its directory is in $INC[0]
by atcroft (Abbot) on Dec 15, 2025 at 09:27 UTC | |
by choroba (Cardinal) on Dec 15, 2025 at 09:36 UTC | |
by HenryLaw (Novice) on Dec 15, 2025 at 09:59 UTC | |
|
Re^3: prove can't find my module, even though its directory is in $INC[0]
by LanX (Saint) on Dec 15, 2025 at 11:40 UTC | |
by LanX (Saint) on Dec 15, 2025 at 21:16 UTC |