Summary
t/2_pods.t checks POD under blib rather than source files.
Relevant code: t/2_pods.t:9
all_pod_files_ok( all_pod_files( qw(blib) ) );
Impact
The test depends on build output being present and current. It can miss source POD issues before make, or pass stale blib contents in a dirty tree.
Possible fixes
- Check source directories directly.
Use all_pod_files('lib', 'examples', ...) or similar.
- Keep checking
blib but make the test build-stage-specific.
This is acceptable if the intent is to verify installed/generated files only, but should be explicit.
- Move POD checks to author/release tests.
This avoids burdening normal installs with author tooling.
Suggested approach
For source quality, check lib directly. If examples are included in the distribution, include them too or add a separate author test.
Summary
t/2_pods.tchecks POD underblibrather than source files.Relevant code:
t/2_pods.t:9all_pod_files_ok( all_pod_files( qw(blib) ) );Impact
The test depends on build output being present and current. It can miss source POD issues before
make, or pass staleblibcontents in a dirty tree.Possible fixes
Use
all_pod_files('lib', 'examples', ...)or similar.blibbut make the test build-stage-specific.This is acceptable if the intent is to verify installed/generated files only, but should be explicit.
This avoids burdening normal installs with author tooling.
Suggested approach
For source quality, check
libdirectly. If examples are included in the distribution, include them too or add a separate author test.