X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Plugin.pod;h=137199c10c43926c405946dadc26544a6a7065d6;hb=18ec04e7558b13fcd57575f566794a909ca60aca;hp=d4bb1a246bed672d35878a3dc84e4dd310b9d49d;hpb=2dd7bc5f80da4fe2220e28de1102641c239d084c;p=perl%2Fmodules%2Fre-engine-Plugin.git
diff --git a/Plugin.pod b/Plugin.pod
index d4bb1a2..137199c 100644
--- a/Plugin.pod
+++ b/Plugin.pod
@@ -19,12 +19,12 @@ C or runtime for C patterns, or something inbetween
depending on variable interpolation etc.
When this module is loaded into a scope it inserts a hook into
-C<$^H{regcomp}> (as described in L) to have each regexp
-constructed in its lexical scope handled by this engine, but it
-differs from other engines in that it also inserts other hooks into
-C<%^H> in the same scope that point to user-defined subroutines to use
-during compilation, execution etc, these are described in
-L below.
+C<$^H{regcomp}> (as described in L and L) to
+have each regexp constructed in its lexical scope handled by this
+engine, but it differs from other engines in that it also inserts
+other hooks into C<%^H> in the same scope that point to user-defined
+subroutines to use during compilation, execution etc, these are
+described in L below.
The callbacks (e.g. L) then get called with a
L object as their first argument. This object
@@ -51,7 +51,7 @@ caller's scope use use the following snippet:
sub import
{
- # Populates the caller's %^H with our callbacks
+ # Sets the caller's $^H{regcomp} his %^H with our callbacks
re::engine::Plugin->import(
comp => \&comp,
exec => \&exec,
@@ -149,7 +149,7 @@ hashrefs, objects, etc.
=head2 mod
my %mod = $rx->mod;
- say "has /ix" if $mod{i} and $mod{x};
+ say "has /ix" if %mod ~~ 'i' and %mod ~~ 'x';
A key-value pair list of the modifiers the pattern was compiled with.
The keys will zero or more of C and the values will be true
@@ -391,13 +391,17 @@ Please report any bugs that aren't already listed at
L to
L
-=head1 AUTHOR
+=head1 AUTHORS
-Evar ArnfjErE Bjarmason
+Evar ArnfjErE Bjarmason C<< >>
+
+Vincent Pit C<< >>
=head1 LICENSE
-Copyright 2007 Evar ArnfjErE Bjarmason.
+Copyright 2007-2008 Evar ArnfjErE Bjarmason.
+
+Copyright 2009 Vincent Pit.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.