From: Vincent Pit Date: Sat, 7 Mar 2009 18:59:38 +0000 (+0100) Subject: Remove the type discussion from the CAVEATS. I really thought I did... X-Git-Tag: v0.05~5 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLexical-Types.git;a=commitdiff_plain;h=f2c60b20f25085c43896f01a69e779c57100bc7d Remove the type discussion from the CAVEATS. I really thought I did... --- diff --git a/lib/Lexical/Types.pm b/lib/Lexical/Types.pm index e935d38..7cc33e7 100644 --- a/lib/Lexical/Types.pm +++ b/lib/Lexical/Types.pm @@ -247,20 +247,6 @@ If you prefer to use constants rather than creating empty packages, you can repl =head1 CAVEATS -For C to be able to parse C, you need : - -=over 4 - -=item * - -either the C package to be defined ; - -=item * - -or for C to be a constant sub returning a valid defined package. - -=back - The restrictions on the type (being either a defined package name or a constant) apply even if you use the C<'as'> option to redirect to another package, and are 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.