X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Plugin.git;a=blobdiff_plain;f=Plugin.pod;h=dec530e1554e63ce7db18a98f98b3a33117a7e0c;hp=3ae9882d8bcd5ff26cbd5663f3ccfae1e9e916ab;hb=06641849094f807d8762e328b5077e54b299f5e2;hpb=74d4856719cde7c6dc286b0c3e5dc78112d2fbff diff --git a/Plugin.pod b/Plugin.pod index 3ae9882..dec530e 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, @@ -397,7 +397,7 @@ Evar ArnfjErE Bjarmason =head1 LICENSE -Copyright 2007 Evar ArnfjErE Bjarmason. +Copyright 2007-2008 Evar ArnfjErE Bjarmason. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.