X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Plugin.pm;h=bbd3b69d224b93f384efca5beea937fd8180bef9;hb=2fe84543333001d29ca366aeb8e795de7ef7772e;hp=220dfdfd9b94ebb9fc6340e2b95d15563d98171d;hpb=4d5d5872e8624a2e37fb68c6a280f497806313e8;p=perl%2Fmodules%2Fre-engine-Plugin.git diff --git a/Plugin.pm b/Plugin.pm index 220dfdf..bbd3b69 100644 --- a/Plugin.pm +++ b/Plugin.pm @@ -1,11 +1,13 @@ # See Plugin.pod for documentation package re::engine::Plugin; use 5.009005; -use base 'Regexp'; use strict; use XSLoader (); -our $VERSION = '0.03'; +our $VERSION = '0.05'; + +# All engines should subclass the core Regexp package +our @ISA = 'Regexp'; XSLoader::load __PACKAGE__, $VERSION; @@ -26,7 +28,7 @@ sub import my ($pkg, %sub) = @_; # Valid callbacks - my @callback = qw(comp exec intuit checkstr free dupe); + my @callback = qw(comp exec); for (@callback) { next unless exists $sub{$_};