]> git.vpit.fr Git - perl/modules/subs-auto.git/commitdiff
This is 0.02 v0.02
authorVincent Pit <vince@profvince.com>
Thu, 28 Aug 2008 14:49:09 +0000 (16:49 +0200)
committerVincent Pit <vince@profvince.com>
Thu, 28 Aug 2008 14:49:09 +0000 (16:49 +0200)
Changes
README
lib/subs/auto.pm

diff --git a/Changes b/Changes
index 5916ad6a95d8c287596213574f58fa64129fcf00..6533ea24bd632b2fa629e8882f9e3d6358fd3e22 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for subs-auto
 
 Revision history for subs-auto
 
+0.02    2008-08-28 14:50 UTC
+        + Add : The 'in' parameter.
+        + Fix : Add exceptions for __FILE__, __LINE__ and DATA.
+
 0.01    2008-08-27 21:10 UTC
         First version, released on an unsuspecting world.
 
 0.01    2008-08-27 21:10 UTC
         First version, released on an unsuspecting world.
 
diff --git a/README b/README
index 674535ce4fa6ddc4fa36a5de8d0e87b8250d4026..9d301bd6fb7aa84f7bba1af745d2190994fe9f46 100644 (file)
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
     subs::auto - Read barewords as subroutine names.
 
 VERSION
     subs::auto - Read barewords as subroutine names.
 
 VERSION
-    Version 0.01
+    Version 0.02
 
 SYNOPSIS
         {
 
 SYNOPSIS
         {
@@ -28,6 +28,13 @@ DESCRIPTION
     (expected to be class names) or whose symbol table entry has a IO slot
     (expected to be filehandles).
 
     (expected to be class names) or whose symbol table entry has a IO slot
     (expected to be filehandles).
 
+    You can pass options to "import" as key / value pairs :
+
+    *   "in => $pkg"
+
+        Specifies on which package the pragma should act. Defaults to the
+        current package.
+
 EXPORT
     None.
 
 EXPORT
     None.
 
@@ -41,6 +48,10 @@ CAVEATS
     outside (or by actually defining "foo", which is ultimately why you use
     this pragma, right ?).
 
     outside (or by actually defining "foo", which is ultimately why you use
     this pragma, right ?).
 
+    You have to open global filehandles outside of the scope of this pragma
+    if you want them not to be treated as function calls. Or just use
+    lexical filehandles and default ones as you should be.
+
 DEPENDENCIES
     perl 5.10.0.
 
 DEPENDENCIES
     perl 5.10.0.
 
index 9978430ba004dbdf14ad6bd3c1e72633d2f463db..7975e55fb7634e56f073c021efd522e33e2fea8c 100644 (file)
@@ -16,11 +16,11 @@ subs::auto - Read barewords as subroutine names.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 0.01
+Version 0.02
 
 =cut
 
 
 =cut
 
-our $VERSION = '0.01';
+our $VERSION = '0.02';
 
 =head1 SYNOPSIS
 
 
 =head1 SYNOPSIS