How to use Devel::Cover with prove?

perl

Solution

- `perl Makefile.PL` or `perl Build.PL`

- `cover -test`

Problem

I see there are some similar questions here and on http://www.perlmonks.org but I still do not get it. Imagine I have a project with a 'lib/' and a 't' directories. I run my tests with 'prove': ``` $ cd $PROJECT_ROOT $ prove ./*.t ``` I want to get a report in html for one or more files in the 'lib/' directory. I do not want reports for the files in the 't' directory. A simple example should be enough. Thanks

Original source