On 04/06/2014 11:17 PM, sisyph...@optusnet.com.au wrote:
This is a bit strange.
In 0.54_01 top level Makefile.PL, I've replaced the old code that
handled the conditional loading of {Test::Warn=>$twv} into PREREQ_PM,
with a cleaner rendition. (See attached patch.)
In a nutshell, this new rendition is:
###########################
my $twv = $] > 5.013 ? 0.23 : 0.21;
my $prereq_pm = {
Data::Dumper => 2.09,
Digest::MD5 => 2.09,
Parse::RecDescent => 1.80,
File::Spec => 0.8,
Test::Warn => $twv,
};
delete $prereq_pm->{'Test::Warn'} if $] <= 5.007;
I'm also baffled why this fails now. Something like works everywhere
else for me. And it tested ok on all my perls.
But since it's just an aesthetical change to reduce code
feel free to revert it. Sorry.
--
Reini
Working towards a true Modern Perl.
Slim, functional, unbloated, compile-time optimizable