X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Plugin.pm;h=d8fa3228907fb93a2913975be35c7a4769e8a26d;hb=74d4856719cde7c6dc286b0c3e5dc78112d2fbff;hp=220dfdfd9b94ebb9fc6340e2b95d15563d98171d;hpb=447aa9bcb55632cf669454868679169602a28fe2;p=perl%2Fmodules%2Fre-engine-Plugin.git diff --git a/Plugin.pm b/Plugin.pm index 220dfdf..d8fa322 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.04'; + +# 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{$_};