I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2011-10-20 04:28:06.047468-07 by crusader
only subroutine and branch coverage

i want only branch and subroutine coverage in my perl file. so in main file i inserted the following statement

mainfile.pl

use Devel::Cover ( '-coverage' => 'subroutine', );

if i run mainfile.pl it shows the error as

Devel::Cover: Writing coverage database to /home/devel1/Devel-Cover-0.78/examples1/cover_db/runs/1319109459.10082.56199 Can't find digest for mainfile.pl at /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/Devel/Cover/DB/Structure.pm line 282.

Devel::Cover: Can't find digest for mainfile.pl

--------------------------------------------------------------- ------ ------

File sub total

--------------------------------------------------------------- ------ ------

Total n/a n/a

--------------------------------------------------------------- ------ ------

how can i resolve this error ?

Direct Responses: Write a response