Subject: | Date::ICal and Date::Leapyear fail install under old versions of Test::Harness and Test::More |
Hi just a minor issue with Date::Leapyear (1.71) and Date::ICal (1.70).
Neither would install correctly when using a stale version of
Test::Harness.(All tests fail for both modules)
Apparently Version 1.1604 Does NOT cut it with the way you have set up
your distro. (Which is weird as ive used that version of Harness a bunch
of times successfully)
I _think_ this has to do with how you have laid out your install directory
structure as I havent had this problem with other modules.
Instead of putting the module in
lib/Date/Leapyear.pm
for instance you could just put the module in the root of the distro and it would have worked fine.
Even if you dont want to do this a notice in the install stating that if
all tests fail the user should upgrade Test::Harness and possibly
Test::More and then retest as it willmost likely resolve the problem.
Also putting in a prereq for Test::Harness and a proper version number for Test::More might just make the problem go away automatically.
Incidentally I checked with various versions and I can say that your stuff installs correctly with the versions
Test::Harness 2.25
Test::More 0.45
As well as 2.26 and 0.47 respectively.
Ie:
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'Date::Leapyear',
'VERSION_FROM' => 'lib/Date/Leapyear.pm', # finds $VERSION
'PREREQ_PM' => {
'Test::More' => 0.45,
'Test::Harness' => 2.25
},
);
Cheers,
Yves
demerphq on www.perlmonks.org