Date: | Wed, 24 Mar 2004 14:57:57 +0100 (CET) |
Subject: | A Bug? |
From: | "Jonas B. Nielsen" <jonasbn [...] logicLAB.dk> |
To: | bug-Test-Pod-Coverage [...] rt.cpan.org |
Hi Andy,
First of all thank you for a marvellous module. Up to now it has worked
fantastically for my Perl modules etc. but I am currently working on a
project where I no longer rely on ExtUtils::MakeMakers way of doing things
I therefor no longer use the blib directory.
According to the documentation I should be able to parse it some
parameters in a hash to control this, this does not seem to work, at least
not the way I expected it to.
This is what I am doing:
all_pod_coverage_ok(dirs => 'lib');
And this is the error I get:
/usr/bin/perl -Ilib t/03_pod-coverage.t
Can't stat blib: No such file or directory
at /Library/Perl/5.8.1/Test/Pod/Coverage.pm line 187
You said to run 0 tests! You've got to run something.
# Looks like your test died before it could output anything.
make: *** [test] Error 255
So I made the following change to Test::Pod::Coverage:
my @modules = all_modules(@{$parms{dirs}});
And then it works? - the line used to look like the following:
my @modules = all_modules();
Did I missunderstand the documentation or did I find a bug?
hyperstation ~ % version.pl Test::Pod::Coverage
Test::Pod::Coverage located in /Library/Perl/5.8.1 is version: 0.08
jonasbn
--
Jonas B. Nielsen
Founder of logicLAB
jonasbn@logicLAB.dk || http://www.logicLAB.dk/
(+45 26920510)