summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-01-06 11:32:35 -0600
committerJesse Luehrs <doy@tozt.net>2012-01-06 11:32:35 -0600
commita1a39aeb9f65996dd2e43f7536f4cc4c3c3cf196 (patch)
tree7d4f5a1c485d06de521ca147c3a58888f4c6d427
parentfcdd2b2a1ac7e4528051213f3a1bdc47c4ed435c (diff)
downloadcircular-require-a1a39aeb9f65996dd2e43f7536f4cc4c3c3cf196.tar.gz
circular-require-a1a39aeb9f65996dd2e43f7536f4cc4c3c3cf196.zip
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
-rw-r--r--dist.ini1
-rw-r--r--lib/circular/require.pm1
2 files changed, 2 insertions, 0 deletions
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)