diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-07-10 03:45:28 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-07-10 03:45:28 -0500 |
commit | 914cc469d74488bb6ddcaffe8316c8d3ac9479db (patch) | |
tree | 1c1623c7a7ff553f263c0b9f4e64ebfc912ac1c7 /lib | |
parent | dae5e2fabea4c8c359752df07b30a864848cf93f (diff) | |
download | smartmatch-engine-core-914cc469d74488bb6ddcaffe8316c8d3ac9479db.tar.gz smartmatch-engine-core-914cc469d74488bb6ddcaffe8316c8d3ac9479db.zip |
nope, the opcode replacement won't work on 5.10
Diffstat (limited to 'lib')
-rw-r--r-- | lib/smartmatch/engine/core.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/smartmatch/engine/core.pm b/lib/smartmatch/engine/core.pm index 69fab65..3a43f6a 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) { +if (!$smartmatch::engine::core::USE_PP && $] >= 5.011002) { __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 |