From a1a39aeb9f65996dd2e43f7536f4cc4c3c3cf196 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 6 Jan 2012 11:32:35 -0600 Subject: bump the required perl version to 5.10 (for hint hashes) i'd be willing to accept patches to restore 5.8 support, just don't have a desire to write the code myself --- dist.ini | 1 + lib/circular/require.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/dist.ini b/dist.ini index 8a4db95..f649677 100644 --- a/dist.ini +++ b/dist.ini @@ -7,4 +7,5 @@ copyright_holder = Jesse Luehrs dist = circular-require [Prereqs] +perl = 5.010 Package::Stash = 0.22 diff --git a/lib/circular/require.pm b/lib/circular/require.pm index 0319878..85deeef 100644 --- a/lib/circular/require.pm +++ b/lib/circular/require.pm @@ -3,6 +3,7 @@ use strict; use warnings; # ABSTRACT: detect circularity in use/require statements +use 5.010; use Package::Stash; # XXX would be nice to load this on demand, but "on demand" is within the # require override, which causes a mess (on pre-5.14) -- cgit v1.2.3