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