X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=lib%2FLexical%2FTypes.pm;h=2999a764f7aa355b8d38c55d3edb9046caac9bc5;hb=b56734d8bae611bf89f0c65a084de7079d119d96;hp=0ac794ab68cc7bb5706c890af23efd972b924e8e;hpb=29249d65c1e4c2712ad16c72543cf98d5905102e;p=perl%2Fmodules%2FLexical-Types.git diff --git a/lib/Lexical/Types.pm b/lib/Lexical/Types.pm index 0ac794a..2999a76 100644 --- a/lib/Lexical/Types.pm +++ b/lib/Lexical/Types.pm @@ -245,6 +245,12 @@ If you prefer to use constants rather than creating empty packages, you can repl sub new { ... } +=head1 CONSTANTS + +=head2 C + +True iff the module could have been built when thread-safety features. + =head1 CAVEATS 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.