From: Vincent Pit Date: Wed, 25 Feb 2009 09:29:48 +0000 (+0100) Subject: Improve the readability of C X-Git-Tag: v0.02~5 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLexical-Types.git;a=commitdiff_plain;h=dd260203a528f4c8eb219708e2686f9a6fca228f Improve the readability of C --- diff --git a/lib/Lexical/Types.pm b/lib/Lexical/Types.pm index dcfd0e0..a773751 100644 --- a/lib/Lexical/Types.pm +++ b/lib/Lexical/Types.pm @@ -54,7 +54,7 @@ BEGIN { Magically called when writing C. All the occurences of C in the current lexical scope will be changed to call at each run a given method in a given package. -The method and package are determined by the parameter C : +The method and package are determined by the parameter C<'as'> : =over 4 @@ -165,7 +165,7 @@ You can integrate L in your module so that using it will provide =head1 CAVEATS -For C to be able to parse C, the package C must be defined somewhere, and this even if you use the C option to redirect to another package. +For C to be able to parse C, the package C must be defined somewhere, and this even if you use the C<'as'> option to redirect to another package. It's unlikely to find a workaround, as this happens deep inside the lexer, far from the reach of an extension. Only one mangler or prefix can be in use at the same time in a given scope.