Is there a way to measure POD coverage for scripts (e.g. *.pl
)?
I can measure documentation coverage for packages using Pod::Coverage
and Test::Pod::Coverage
, but I cannot measure it for scripts, because Pod::Coverage
and the underlying Devel::Symdump
use require
to inspect the content of the package, which fails due to the lack of a .pm
file.
Is there a way to work around this?
(I have to have POD documentation in the .pl
files, so moving everything into a module and documenting it there is not a good solution for me. Wherever I could do that, it's already done that way.)