]> git.vpit.fr Git - perl/modules/Lexical-Types.git/blobdiff - lib/Lexical/Types.pm
Warn about the global slowdown
[perl/modules/Lexical-Types.git] / lib / Lexical / Types.pm
index 518e20522e776bc48e8c73def5b1c8685d49c0ad..bc72829263a2149cc07556cba51a5fe2a93acb6b 100644 (file)
@@ -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<use Lexical::Types> - which may become noticeable if you rely heavily on numerous calls to C<eval STRING>.
+
 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.