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

Are you by chance running an incredibly old version of XML::Simple?

The lock() function was added to allow XML::Simple to be thread safe under the 5.005 threading model while still working with older Perls. That threading model was replaced with a new model in Perl 5.6 and the lock function was removed from XML Simple in October 2002.

Given that XML::Simple uses Test::More extensively in its own test suite, I'm pretty sure they get along OK :-)

Replies are listed 'Best First'.
Re^2: Test::More and XML::Simple
by hypochrismutreefuzz (Scribe) on Aug 13, 2004 at 10:39 UTC

    My version of XML::Simple came with the Active State Perl. It is version 1.06 and I see the current version of XML::Simple is 2.12.

    However, now I can't seem to recreate the errors I was getting. :I

    Thanks