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]

I will add that if they are doing that, it seems like they are trying to explicitly test that the module loads ok, but in a non-standard way.

The old Test::More framework has a use_ok function, but it is a good idea to only use it in a test file that just does that one test, since other tests may be impacted negatively by not having the module loaded at compile time.

The new Test2 removes use_ok and just recommends a regular use of the module in your test files.
  • Comment on Re^2: prove can't find my module, even though its directory is in $INC[0]