On Thu, Oct 27, 2005 at 06:21:53PM +0200, Gábor Szabó wrote:
> actually I think this happens to be with any module, eg.:
>
>
> gabor@box:~/Spreadsheet-ParseExcel-Simple-1.03$ cov
> Deleting database /home/gabor/Spreadsheet-ParseExcel-Simple-1.03/cover_db
> No root path(s) specified at
> /usr/local/lib/perl/5.8.7/Devel/Cover/DB.pm line 110
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/01..............ok 1/11Can't find digest for
> blib/lib/Spreadsheet/ParseExcel/Simple.pm at
> /usr/local/lib/perl/5.8.7/Devel/Cover/DB/Structure.pm line 253.
> t/01..............ok
>
>
> where cov contains the following:
>
> cover -delete
> export DEVEL_COVER_OPTIONS=
> "-coverage statement,branch,condition,path,subroutine,time"
This is the problem. You want a comma after -coverage instead of a
space. The documentation could be more clear on this topic.
The bug is due to a combination of dodgy option handling and incorrect
(or at least unhelpful) behaviour with non-standard options.
I may yet completely overhaul the option handling. That this is a
possibility is the major reason I still call the code alpha.
--
Paul Johnson - paul@xxxxxxxx
http://www.pjcj.net
|