in reply to Devel::Cover and prove: How best to combine?

My manpage for Devel::Cover includes:
perl -MDevel::Cover=-db,cover_db,-coverage,statement,time your +prog args
I'm just emulating that style of invocation with my PERL5OPT variable. And the commas get turned into spaces, from perlrun.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: Devel::Cover and prove: How best to combine?
by jkeenan1 (Deacon) on Oct 13, 2006 at 20:51 UTC
    In the last few days I finally got back to this problem. Here's what I used when I wanted to get a text version of the report and when I wanted the full line-by-line analysis of only file MyModule.pm:

    cover -delete PERL5OPT=-MDevel::Cover prove *.t "$@" && cover -report text -select_r +e MyModule\.pm > cov

    Jim Keenan