Subject: | Works with 5.8.x |
I can confirm that the test suite passes with perl 5.8.8 if the patch below is applied, possibly also with older 5.8.x versions.
Generally my advice is to not put any version specifications unless there are *known* incompatibilities. CPAN Testers exist, so any problems would appear there.
Regards,
Slaven
diff --git i/Makefile.PL w/Makefile.PL
index 033876d..2c29932 100644
--- i/Makefile.PL
+++ w/Makefile.PL
@@ -1,11 +1,6 @@
use ExtUtils::MakeMaker;
use File::Copy;
-if ($^V lt v5.10) {
- die("Algorithm::RandomPointGenerator has only been tested on Perl 5.10.1.\n" .
- "Your perl version is $].\n");
-}
-
copy("perl/MANIFEST.perl","MANIFEST");
WriteMakefile(
diff --git i/lib/Algorithm/RandomPointGenerator.pm w/lib/Algorithm/RandomPointGenerator.pm
index f441131..55d6bc7 100755
--- i/lib/Algorithm/RandomPointGenerator.pm
+++ w/lib/Algorithm/RandomPointGenerator.pm
@@ -10,7 +10,6 @@ package Algorithm::RandomPointGenerator;
# 2D histogram.
# ---------------------------------------------------------------------------
-use 5.10.0;
use strict;
use Carp;
use List::Util qw/reduce/;