Skip Menu |

This queue is for tickets about the Modern-Open CPAN distribution.

Report information
The Basics
Id: 97866
Status: resolved
Priority: 0/
Queue: Modern-Open

People
Owner: ina [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: (no value)



Subject: Prevent from installing on newer perls
Installing this distribution on perls > 5.005 causes the original warnings.pm to be shadowed. This is not a good thing, especially for smokers which are installing everything by default. Probably the best is to exit in Makefile.PL if the perl is too new e.g. (untested): if ($] >= 5.006) { warn "This distribution is only for perl 5.005 and older.\n"; exit 0; } Regards, Slaven
I've released version 0.06 from thinking deeply. From Changes 0.06 2014-08-10 00:00:00 - prevent from installing on newer perls - rename Test/Simple.pm to Test/Simply.pm - remove strict.pm_, warnings.pm, warnings/register.pm, and feature.pm_ Thanks, INABA Hitoshi On 2014-8月-08 金 03:40:28, SREZIC wrote: Show quoted text
> Installing this distribution on perls > 5.005 causes the original > warnings.pm to be shadowed. This is not a good thing, especially for > smokers which are installing everything by default. Probably the best > is to exit in Makefile.PL if the perl is too new e.g. (untested): > > if ($] >= 5.006) { > warn "This distribution is only for perl 5.005 and older.\n"; > exit 0; > } > > Regards, > Slaven