Subject: | Module works with perl 5.8.x |
5.10.0 as the minimum perl version seems to be unnecessary; the test suite passes fine with perl 5.8.9 (and probably also with earlier perls). See the attached patch to fix this.
Subject: | 0001-module-works-with-perl-5.8.patch |
From b8d7b53ec024e82cecee980c52299a8d392b49bc Mon Sep 17 00:00:00 2001
From: Slaven Rezic <cpansand@cvrsnica-freebsd-92>
Date: Fri, 13 Mar 2015 00:21:22 +0100
Subject: [PATCH] module works with perl 5.8
---
Makefile.PL | 5 -----
lib/Algorithm/DecisionTree.pm | 1 -
2 files changed, 6 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index d99bb9e..3cdbdb1 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,11 +1,6 @@
use ExtUtils::MakeMaker;
use File::Copy;
-if ($^V lt v5.10) {
- die("Algorithm::DecisionTree has been tested on Perl 5.10.1.\n" .
- "Your perl version is $].\n");
-}
-
copy("perl/MANIFEST.perl","MANIFEST");
WriteMakefile(
diff --git a/lib/Algorithm/DecisionTree.pm b/lib/Algorithm/DecisionTree.pm
index 7eccf4a..4c6d573 100644
--- a/lib/Algorithm/DecisionTree.pm
+++ b/lib/Algorithm/DecisionTree.pm
@@ -10,7 +10,6 @@ package Algorithm::DecisionTree;
# data.
# -------------------------------------------------------------------------------------
-use 5.10.0;
use strict;
use warnings;
use Carp;
--
2.2.1