From dae5e2fabea4c8c359752df07b30a864848cf93f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 10 Jul 2011 03:06:11 -0500 Subject: use Devel::CallChecker to get things working on 5.12 5.10 still has issues --- lib/smartmatch/engine/core.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3-54-g00ecf