in reply to Test::More and XML::Simple

Test::More exports plenty of stuff by default but you can control this by doing something like
use Test::More (tests => 27, import => ['is' 'like']);
the stuff in the [] tells it what symbols to export. Test::More uses the standard Exporter.pm to export symbols, it just takes the list of things to export in a slightly different way. Test::More does not export anything into a package unless that package asks for it with a use.

That said, Test::More doesn't define a subroutine lock() so your problem is something else.

Replies are listed 'Best First'.
Re^2: Test::More and XML::Simple
by chromatic (Archbishop) on Aug 11, 2004 at 22:52 UTC

    Test::Builder does have lock() and share(), but they should be sufficiently encapsulated.

    Perhaps the OP's Perl configuration supports ithreads.