]> git.vpit.fr Git - perl/modules/Lexical-Types.git/blobdiff - lib/Lexical/Types.pm
This is 0.02
[perl/modules/Lexical-Types.git] / lib / Lexical / Types.pm
index dcfd0e03569e36e930bea6361e75b5ac43eb15eb..f3ff14d7ade23e55bfa598346b63e65c6e51d65f 100644 (file)
@@ -13,13 +13,13 @@ Lexical::Types - Extend the semantics of typed lexicals.
 
 =head1 VERSION
 
-Version 0.01
+Version 0.02
 
 =cut
 
 our $VERSION;
 BEGIN {
- $VERSION = '0.01';
+ $VERSION = '0.02';
 }
 
 =head1 SYNOPSIS
@@ -54,7 +54,7 @@ BEGIN {
 
 Magically called when writing C<use Lexical::Types>.
 All the occurences of C<my Str $x> 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<as> :
+The method and package are determined by the parameter C<'as'> :
 
 =over 4
 
@@ -165,7 +165,7 @@ You can integrate L<Lexical::Types> in your module so that using it will provide
 
 =head1 CAVEATS
 
-For C<perl> to be able to parse C<my Str $x>, the package C<Str> must be defined somewhere, and this even if you use the C<as> option to redirect to another package.
+For C<perl> to be able to parse C<my Str $x>, the package C<Str> 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.