X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLexical-Types.git;a=blobdiff_plain;f=lib%2FLexical%2FTypes.pm;h=bc72829263a2149cc07556cba51a5fe2a93acb6b;hp=518e20522e776bc48e8c73def5b1c8685d49c0ad;hb=755d99cef7468713b3fc1ac914b4649fe73b594c;hpb=d3cb9f3bbe0d0ce0841b21fea6834f8ecc11b67b diff --git a/lib/Lexical/Types.pm b/lib/Lexical/Types.pm index 518e205..bc72829 100644 --- a/lib/Lexical/Types.pm +++ b/lib/Lexical/Types.pm @@ -265,6 +265,8 @@ This will always be true except on Windows where it's false for perl 5.10.0 and =head1 CAVEATS +Using this pragma will cause a slight global slowdown of any subsequent compilation phase that happens anywere in your code - even outside of the scope of use of C - which may become noticeable if you rely heavily on numerous calls to C. + 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.