summaryrefslogtreecommitdiffstats
path: root/lib/smartmatch/engine/core.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/smartmatch/engine/core.pm')
-rw-r--r--lib/smartmatch/engine/core.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/smartmatch/engine/core.pm b/lib/smartmatch/engine/core.pm
index df9af82..69fab65 100644
--- a/lib/smartmatch/engine/core.pm
+++ b/lib/smartmatch/engine/core.pm
@@ -8,7 +8,7 @@ use parent 'DynaLoader';
sub dl_load_flags { 0x01 }
-if (!$smartmatch::engine::core::USE_PP && $] >= 5.014) {
+if (!$smartmatch::engine::core::USE_PP) {
__PACKAGE__->bootstrap(
# we need to be careful not to touch $VERSION at compile time,
# otherwise DynaLoader will assume it's set and check against it, which
@@ -20,6 +20,8 @@ if (!$smartmatch::engine::core::USE_PP && $] >= 5.014) {
init(__PACKAGE__->can('match'));
}
+use Devel::CallChecker;
+
use B;
use Carp qw(croak);
use Hash::Util::FieldHash qw(idhash);