On Sat, 2006-06-03 at 06:25 -0700, Peter Scott wrote:
> On Sat, 03 Jun 2006 20:53:35 +1000, Ken Foskey wrote:
> > I cannot figure out the how to make this work, this succeeds with no
> > documentation in the modules.
> >
> > #!/usr/bin/perl
> >
> > # Ensure POD is set up correctly.
> >
> > use Test::More;
> > eval "use Test::Pod 1.00";
> > plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
> > all_pod_files_ok( map( glob( "*.pm" ), s/.pm$//) );
>
> Your subject names Test::Pod::Coverage, yet you are not using it. If you
> did, you'd just call all_pod_coverage_ok() and not have to bother with
> glob.
Sorry I have been trying a few things...
use Test::More;
use Test::Pod::Coverage;
all_pod_coverage_ok();
Does not work...
$ t/pod-coverage.t
1..1
ok 1 - No modules found.
## I did try with a glob("*.pm") but that made no difference.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>