summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-07-10 03:06:11 -0500
committerJesse Luehrs <doy@tozt.net>2011-07-10 03:06:11 -0500
commitdae5e2fabea4c8c359752df07b30a864848cf93f (patch)
tree0387407a97b44fd503f7f9ea11e5916306f1deba /lib
parent23d8684148f0af6c180e035ce976efa5874cc2ef (diff)
downloadsmartmatch-engine-core-dae5e2fabea4c8c359752df07b30a864848cf93f.tar.gz
smartmatch-engine-core-dae5e2fabea4c8c359752df07b30a864848cf93f.zip
use Devel::CallChecker to get things working on 5.12
5.10 still has issues
Diffstat (limited to 'lib')
-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);