summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)