]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - Plugin.pm
This is 0.12
[perl/modules/re-engine-Plugin.git] / Plugin.pm
index bf739f989f5e9fda90aa79841658dffaa6cefc37..eee5dadd5c24d679a3166432b47106450ce4015c 100644 (file)
--- a/Plugin.pm
+++ b/Plugin.pm
@@ -6,7 +6,7 @@ use strict;
 our ($VERSION, @ISA);
 
 BEGIN {
- $VERSION = '0.08';
+ $VERSION = '0.12';
  # All engines should subclass the core Regexp package
  @ISA = 'Regexp';
  require XSLoader;
@@ -20,7 +20,7 @@ sub import
     my ($pkg, %sub) = @_;
 
     # Valid callbacks
-    my @callback = qw<comp exec>;
+    my @callback = qw<comp exec free>;
 
     for (@callback) {
         next unless exists $sub{$_};
@@ -55,7 +55,7 @@ sub callbacks
 {
     my ($re, %callback) = @_;
 
-    my %map = map { $_ => "_$_" } qw<exec>;
+    my %map = map { $_ => "_$_" } qw<exec free>;
 
     for my $key (keys %callback) {
         my $name = $map{$key};