in reply to Test::More and XML::Simple
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.use Test::More (tests => 27, import => ['is' 'like']);
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 |