Subject: | Allow older perls |
The module (at least the test suite) works fine with 5.12.5. Probably it works even with older perls. Please try the attached patch.
Generally, if you're unsure if a module works for older perls, you can create a devel release of your module, and check cpan testers results later if it works.
Subject: | non-514.patch |
diff --git i/Makefile.PL w/Makefile.PL
index e99a7b5..975e563 100644
--- i/Makefile.PL
+++ w/Makefile.PL
@@ -1,11 +1,6 @@
use ExtUtils::MakeMaker;
use File::Copy;
-if ($^V lt v5.14) {
- die("Algorithm::RandomPointGenerator has only been tested on Perl 5.14.0.\n" .
- "Your perl version is $].\n");
-}
-
copy("perl/MANIFEST.perl","MANIFEST");
WriteMakefile(
@@ -14,7 +9,7 @@ WriteMakefile(
PREREQ_PM => { Math::Random => '0.71',
Graphics::GnuplotIF => '1.6',
Math::Big => '1.12',
- File::Basename => '2.84',
+ File::Basename => 0,
List::Util => '1.39',
},
AUTHOR => 'Avinash Kak (kak@purdue.edu)',
diff --git i/lib/Algorithm/RandomPointGenerator.pm w/lib/Algorithm/RandomPointGenerator.pm
index 8cf75c6..666d2f3 100755
--- i/lib/Algorithm/RandomPointGenerator.pm
+++ w/lib/Algorithm/RandomPointGenerator.pm
@@ -10,7 +10,6 @@ package Algorithm::RandomPointGenerator;
# 2D histogram.
# ---------------------------------------------------------------------------
-use 5.14.0;
use strict;
use Carp;
use List::Util qw/reduce/;