From 0c26c9ada274057cc6612f62b984dcaef3e91121 Mon Sep 17 00:00:00 2001 From: "H.Merijn Brand" Date: Sun, 21 Nov 2010 11:52:23 +0100 Subject: [PATCH] Require perl 5.8.0 --- ChangeLog | 3 ++- Makefile.PL | 2 +- Peek.pm | 5 ++--- README | 5 ++--- sandbox/genMETA.pl | 10 +++++----- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1197acd..a2cb7f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ -2010-08-28 0.32 - H.Merijn Brand +2010-11-21 0.32 - H.Merijn Brand + * Require perl 5.8.0 * DGrow tests for bigger gap * Spell checking * Add DHexDump () diff --git a/Makefile.PL b/Makefile.PL index a257de8..8356592 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -2,7 +2,7 @@ # Copyright PROCURA B.V. (c) 2008-2010 H.Merijn Brand -require 5.006; # <- also see postamble at the bottom for META.yml +require 5.008; # <- also see postamble at the bottom for META.yml use strict; use ExtUtils::MakeMaker; diff --git a/Peek.pm b/Peek.pm index 5b6d5b3..fe01827 100644 --- a/Peek.pm +++ b/Peek.pm @@ -10,7 +10,7 @@ $VERSION = "0.32"; @ISA = qw( DynaLoader Exporter ); @EXPORT = qw( DDumper DDsort DPeek DDisplay DDump DHexDump DDual DGrow ); @EXPORT_OK = qw( triplevar ); -$] >= 5.007003 and push @EXPORT, "DDump_IO"; +push @EXPORT, "DDump_IO"; bootstrap Data::Peek $VERSION; @@ -516,8 +516,7 @@ Example =head2 DDump_IO ($io, $var [, $dig_level]) A wrapper function around perl's internal C, which -makes C completely superfluous. As PerlIO is only available -perl version 5.7.3 and up, this function is not available in older perls. +makes C completely superfluous. Example diff --git a/README b/README index c8954b8..e725c2c 100644 --- a/README +++ b/README @@ -18,12 +18,11 @@ that only prints to STDERR. DPeek () is a wrapper around internals Perl_sv_peek DDump_IO () is a wrapper around perl's core function do_sv_dump (), -which acts like sv_dump (), but to a PerlIO stream, which is only -available in perl 5.8 and higher. +which acts like sv_dump (), but to a PerlIO stream. =head1 PREREQUISITES -Perl 5.6.0 and up. +Perl 5.8.0 and up. Some versions of perl on some operating system(s) might not have exported the internals (yet). This module won't build then. diff --git a/sandbox/genMETA.pl b/sandbox/genMETA.pl index f9d9072..f3b6ee5 100755 --- a/sandbox/genMETA.pl +++ b/sandbox/genMETA.pl @@ -41,10 +41,10 @@ if ($check) { eval { Parse::CPAN::Meta::Load ($yml) }; $@ and die "$@\n"; - print "Checking if 5.006 is still OK as minimal version for examples\n"; + print "Checking if 5.008 is still OK as minimal version for examples\n"; use Test::MinimumVersion; # All other minimum version checks done in xt - all_minimum_version_ok ("5.006", { paths => [ "examples" ]}); + all_minimum_version_ok ("5.008", { paths => [ "examples" ]}); } elsif ($opt_v) { print @yml; @@ -72,14 +72,14 @@ provides: file: Peek.pm version: VERSION requires: - perl: 5.006 + perl: 5.008 DynaLoader: 0 recommends: - perl: 5.010001 + perl: 5.012002 configure_requires: ExtUtils::MakeMaker: 0 build_requires: - perl: 5.006 + perl: 5.008 Data::Dumper: 0 Test::Harness: 0 Test::More: 0 -- 2.11.4.GIT