From: Vincent Pit Date: Fri, 30 Mar 2012 20:36:35 +0000 (+0200) Subject: POD nits and clarifications X-Git-Tag: v0.02~10 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Hooks.git;a=commitdiff_plain;h=545c54245352f76063b7cf3cf949fb5d1155780f POD nits and clarifications --- diff --git a/lib/re/engine/Hooks.pm b/lib/re/engine/Hooks.pm index 50ba58e..43683e5 100644 --- a/lib/re/engine/Hooks.pm +++ b/lib/re/engine/Hooks.pm @@ -139,7 +139,7 @@ Allowed to be C if you don't want to call anything for this phase. Registers the callbacks specified by the C object C under the given name C. C can be a pointer to a static object of type C. -C should match with the argument passed to L and L in Perl land. +C is expected to be a nul-terminated string and should match the argument passed to L and L in Perl land. An exception will be thrown if C has already been used to register callbacks. =cut @@ -157,13 +157,13 @@ my $croak = sub { enable $key; -Lexically enables the hooks associated with the key C<$key> +Lexically enables the hooks associated with the key C<$key>. =head2 C disable $key; -Lexically disables the hooks associated with the key C<$key> +Lexically disables the hooks associated with the key C<$key>. =cut @@ -205,7 +205,7 @@ sub disable { =head1 EXAMPLES -See the F directory in the distribution. +Please refer to the F directory in the distribution. It implements a couple of simple examples. =head1 DEPENDENCIES