On 26 Feb 2007, at 23:23, Michael G Schwern wrote:

David Cantrell wrote:
5.6.2 ships with a really old Test::Builder and Test::Simple.
Installing the updated versions of those modules puts them *later in the
@INC path than the older ones* so nothing notices that they're there.
So I've CCed Schwern on this. Whether it's a bug or just that my test
rig is a bit perverse I dunno :-)

Its a bug in Test::More. It only puts itself into the core libraries if it thinks it was shipped with that Perl version. However I was relying on
Module::CoreList and...

$ corelist Test::More
Test::More  was first released with perl 5.007003

Apparently Module::CoreList does it by release date not version.

You can give it an optional version number, e.g.:

perl -MModule::CoreList \
 -e 'print Module::CoreList->first_release(Test::More=>0.62),"\n"' ;
5.009003

Cheers,

Adrian

Reply via email to