Skip Menu |
 

This queue is for tickets about the Algorithm-DecisionTree CPAN distribution.

Report information
The Basics
Id: 102737
Status: resolved
Priority: 0/
Queue: Algorithm-DecisionTree

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.27
Fixed in: 2.30

Attachments
0001-module-works-with-perl-5.8.patch



Subject: Module works with perl 5.8.x
Download (untitled) / with headers
text/plain 178b
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
Download (untitled) / with headers
text/plain 307b
On 2015-03-12 19:24:09, SREZIC wrote: Show quoted text
> 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.
Thanks, looks good: http://matrix.cpantesters.org/?dist=Algorithm-DecisionTree+2.30


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.