diff options
author | Graham Ollis <plicease@cpan.org> | 2017-08-08 14:05:39 -0400 |
---|---|---|
committer | Graham Ollis <plicease@cpan.org> | 2017-08-08 14:05:39 -0400 |
commit | 51b5f5e2c0c9b5ce82827d2ccc023bfe63138c12 (patch) | |
tree | eed1ab618433a0c8b46996351890160e9ac8a339 | |
parent | 18ff793d3ec589f02e50bd0d9e2ac3b4d735b3af (diff) |
do not allow broken perls
-rw-r--r-- | dist.ini | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -7,10 +7,22 @@ copyright_year = 2016 version = 1.31 [@Author::Plicease] -:version = 2.10 +:version = 2.21 travis_status = 1 release_tests = 1 +preamble = | { +preamble = | my $fn = 'Class/Inspector.pm'; +preamble = | unless(index('lib/Class/Inspector.pm', $fn) == index('lib/Class/Inspector.pm', 'Class/Inspector.pm')) +preamble = | { +preamble = | print "I believe you have a broken Perl.\n"; +preamble = | print "Please see https://github.com/plicease/Class-Inspector/issues/5\n"; +preamble = | print "If you believe this diagnostic is mistaken, you can edit the Makefile.PL and comment out the logic that determins this.\n"; +preamble = | print "If you believe this diagnostic is mistaken, feel free to comment on the issue above.\n"; +preamble = | exit; +preamble = | } +preamble = | } + [Prereqs / TestPrereqs] -phase = test ; TODO: this gets overridden with 0.94 |