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

[email protected] (bulk 88) Sun, 28 Jun 2015 16:04:43 -0400
Newsgroups perl.qa
Message-ID <[email protected]>
=0A=
=0A=
----------------------------------------=0A=
> To: [email protected]=0A=
> Date: Sun=2C 28 Jun 2015 09:18:57 -0400=0A=
> From: [email protected]=0A=
> Subject: Re: Why does File::Path not respond to 'cover'?=0A=
>=0A=
> Thanks=2C yary. Yes=2C after I posted I recalled that Devel::Cover does=
=0A=
> exclude core modules. IIRC=2C pjcj had a project called 'p5cover' which=
=0A=
> was intended to rectify that=2C but I don't know that project's current=
=0A=
> status.=0A=
>=0A=
> In any case=2C on my previous laptop I located some correspondence with=
=0A=
> pjcj from two years ago in which I reported having found a hack for this=
=0A=
> case: Create a branch. In the branch rename 'Path.pm' to something=0A=
> like 'ABCPath.pm'=2C then do a global search-and-replace in all files=0A=
> (except things like README=2C TODO and Changes) to impose the new name.=
=0A=
> At that point you can run 'perl Makefile.PL && make'=2C and from that=0A=
> point Devel::Cover sees a brand new library and calculates coverage.=0A=
=0A=
I had a similar problem with NYTProf and XSLoader. Since XSLoader was=0A=
already loaded=2C in order to load NYTProf=2C it wasn't instrumented.=A0 So=
 I=0A=
deleted XSLoader's %INC entry and called require again=2C and that=0A=
instrumented XSLoader.=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
=0A=
 		 	   		  =