Re: masking installed versions when running tests

2009-05-11 Thread Jonathan Swartz
Jonathan Swartz wrote: 2) I have to compute the right exception paths. Doing "use lib qw(blib/lib blib/arch)" as you suggest would only work if the tests were run from the main directory. e.g. If I'm in the t/ directory and do "perl -I../lib foo.t", as I do sometimes, it ought to work as well.

Re: masking installed versions when running tests

2009-05-11 Thread Michael G Schwern
Jonathan Swartz wrote: > 2) I have to compute the right exception paths. Doing "use lib > qw(blib/lib blib/arch)" as you suggest would only work if the tests were > run from the main directory. e.g. If I'm in the t/ directory and do > "perl -I../lib foo.t", as I do sometimes, it ought to work as we

Re: masking installed versions when running tests

2009-05-11 Thread Jonathan Swartz
On Wed, May 06, 2009 at 12:15:38PM -0400, David Golden wrote: On Wed, May 6, 2009 at 12:05 PM, David Cantrell > 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 catchin