I'm using Test::More for doing infrastructure testing throughout my project. One of the tests I'm doing is making sure that every .pm file is able to load on its own, since I've had problems where the .pm had dependencies on other modules, but so long as the calling program included those modules first, the problem would remain hidden.
So I have a test where I do a use_ok( 'Foo::Bar' ). All fine and good. What I'd like is a way to do use_ok( 'Foo' ) and a use_ok( 'Bar' ), but somehow make sure that the order of checking these not matter. Even in an eval {}, my namespace is going to be polluted after the first use_ok(), sin't it? Thanks, Andy -- 'Andy Lester [EMAIL PROTECTED] Programmer/author petdance.com Daddy parsley.org/quinn Jk'=~/.+/s;print((split//,$&) [unpack'C*',"n2]3%+>\"34.'%&.'^%4+!o.'"])