]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - Plugin.pm
Now using ExtUtils::MakeMaker instead of Module::Install
[perl/modules/re-engine-Plugin.git] / Plugin.pm
index 220dfdfd9b94ebb9fc6340e2b95d15563d98171d..d8fa3228907fb93a2913975be35c7a4769e8a26d 100644 (file)
--- a/Plugin.pm
+++ b/Plugin.pm
@@ -1,11 +1,13 @@
 # See Plugin.pod for documentation\r
 package re::engine::Plugin;\r
 use 5.009005;\r
-use base 'Regexp';\r
 use strict;\r
 use XSLoader ();\r
 \r
-our $VERSION = '0.03';\r
+our $VERSION = '0.04';\r
+\r
+# All engines should subclass the core Regexp package\r
+our @ISA = 'Regexp';\r
 \r
 XSLoader::load __PACKAGE__, $VERSION;\r
 \r
@@ -26,7 +28,7 @@ sub import
     my ($pkg, %sub) = @_;\r
 \r
     # Valid callbacks\r
-    my @callback = qw(comp exec intuit checkstr free dupe);\r
+    my @callback = qw(comp exec);\r
 \r
     for (@callback) {\r
         next unless exists $sub{$_};\r