[me@2 t]$ prove -v 900_pod_coverage.t 900_pod_coverage....Undefined subroutine &main::all_modules called at 900_pod_coverage.t line 9. #### # -*- perl -*- # t/900_pod_coverage.t - check POD coverage for new modules use Test::Pod::Coverage; # tests => 1; use lib qw# /home/httpd/path/to/my/plugins/ #; my $dir = q{/home/httpd/path/to/my/plugins/}; ## also tried the commented out ... # my @moduleList = all_modules( 'DataClasses' ); my @moduleList = all_modules( $dir ); foreach my $mod ( @moduleList ) { pod_coverage_ok( $mod, 'reporting code is documented' ); }