develooper Front page | | Postings from June 2015

Re: Why does File::Path not respond to 'cover'?

Thread Previous
Aristotle Pagaltzis
June 28, 2015 14:13
Re: Why does File::Path not respond to 'cover'?
Message ID:
* James E Keenan <> [2015-06-28 15:20]:
> In any case, on my previous laptop I located some correspondence with
> pjcj from two years ago in which I reported having found a hack for
> this case:  Create a branch. In the branch rename '' to
> something like '', then do a global search-and-replace in
> all files (except things like README, TODO and Changes) to impose the
> new name. At that point you can run 'perl Makefile.PL && make', and
> from that point Devel::Cover sees a brand new library and calculates
> coverage.

That’s very invasive to the code being instrumented, though. Hacking the
exemption out of Devel::Core seems like the far more robust alternative.

Aristotle Pagaltzis // <>

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About