On Wed, May 06, 2009 at 12:15:38PM -0400, David Golden wrote: > On Wed, May 6, 2009 at 12:05 PM, David Cantrell <da...@cantrell.org.uk> wrote: > >> That's true, but this isn't just about testing libs - it's any lib I > >> might delete from the distribution. > > You want Devel::Hide. > I think the original question was about catching a module deleted by > mistake -- otherwise, Devel::Hide rocks.
Exactly. If I accidentally delete Foo/Bar.pm in my Foo-Bar distribution, then that recipe would hide any Foo::Bar that's already installed, but still try to load it from blib/* when I try to build the distro. And then, because it was accidentally deleted, complain loudly. -- David Cantrell | top google result for "topless karaoke murders" The children now love luxury; they have bad manners, contempt for authority; they show disrespect for elders and love chatter in place of exercise. Children are now tyrants, not the servants of their households. They no longer rise when elders enter the room. They contradict their parents, chatter before company, gobble up dainties at the table, cross their legs, and tyrannize their teachers. -- attributed by Plato to Socrates