]> git.vpit.fr Git - perl/modules/Lexical-Types.git/blobdiff - README
Get rid of ENTERn/LEAVEn
[perl/modules/Lexical-Types.git] / README
diff --git a/README b/README
index 0d8a7a8877fb7c2628f3f1b5e3c5ad2e361d43d3..12f52f132e3e6c6c7045c73e83c7c7a4a76d3173 100644 (file)
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
     Lexical::Types - Extend the semantics of typed lexicals.
 
 VERSION
-    Version 0.04
+    Version 0.09
 
 SYNOPSIS
         { package Str; }
@@ -171,13 +171,12 @@ INTEGRATION
 
         sub new { ... }
 
-CAVEATS
-    For "perl" to be able to parse "my Str $x", you need :
-
-    *   either the "Str" package to be defined ;
-
-    *   or for "Str" to be a constant sub returning a valid defined package.
+CONSTANTS
+  "LT_THREADSAFE"
+    True iff the module could have been built with thread-safety features
+    enabled.
 
+CAVEATS
     The restrictions on the type (being either a defined package name or a
     constant) apply even if you use the 'as' option to redirect to another
     package, and are unlikely to find a workaround as this happens deep
@@ -186,6 +185,15 @@ CAVEATS
     Only one mangler or prefix can be in use at the same time in a given
     scope.
 
+    The implementation was tweaked to work around several limitations of
+    vanilla "perl" pragmas : it's thread safe, and doesn't suffer from a
+    "perl 5.8.x-5.10.0" bug that causes all pragmas to propagate into
+    "require"d scopes.
+
+    With 5.8 perls, the pragma does not propagate into "eval STRING". This
+    is due to a shortcoming in the way perl handles the hints hash, which is
+    addressed in perl 5.10.
+
 DEPENDENCIES
     perl 5.8, XSLoader.
 
@@ -220,7 +228,7 @@ ACKNOWLEDGEMENTS
     Thanks Florian Ragwitz for suggesting the use of constants for types.
 
 COPYRIGHT & LICENSE
-    Copyright 2009 Vincent Pit, all rights reserved.
+    Copyright 2009,2010 Vincent Pit, all rights reserved.
 
     This program is free software; you can redistribute it and/or modify it
     under the same terms as Perl itself.