From: Vincent Pit Date: Fri, 23 Aug 2013 19:58:19 +0000 (-0300) Subject: Add missing bullets to POD items X-Git-Tag: v0.11~4 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Prototype-Util.git;a=commitdiff_plain;h=909c371df9ff98e4f100b9451219275970a93dbd Add missing bullets to POD items --- diff --git a/lib/Sub/Prototype/Util.pm b/lib/Sub/Prototype/Util.pm index 011d1c2..b2f67a7 100644 --- a/lib/Sub/Prototype/Util.pm +++ b/lib/Sub/Prototype/Util.pm @@ -149,24 +149,32 @@ Valid keys are : =over 4 -=item C<< ref => $func >> +=item * + +C<< ref => $func >> Specifies the function used in the generated code to test the reference type of scalars. Defaults to C<'ref'>. You may also want to use L. -=item C<< wrong_ref => $code >> +=item * + +C<< wrong_ref => $code >> The code executed when a reference of incorrect type is encountered. The result of this snippet is also the result of the generated code, hence it defaults to C<'undef'>. It's a good place to C or C too. -=item C<< sub => $bool >> +=item * + +C<< sub => $bool >> Encloses the code into a C block. Default is true. -=item C<< compile => $bool >> +=item * + +C<< compile => $bool >> Makes L compile the code generated and return the resulting code reference. Be careful that in this case C must be a fully qualified function name.