]> git.vpit.fr Git - perl/modules/Sub-Prototype-Util.git/commitdiff
This is 0.10 v0.10
authorVincent Pit <vince@profvince.com>
Thu, 25 Aug 2011 11:02:58 +0000 (13:02 +0200)
committerVincent Pit <vince@profvince.com>
Thu, 25 Aug 2011 11:02:58 +0000 (13:02 +0200)
Changes
META.json
META.yml
README
lib/Sub/Prototype/Util.pm

diff --git a/Changes b/Changes
index e32b0d1d36c8461d4c1c23d8c534f0093274528a..cc7bed2a434355d5df30bd9c874d9cff89fff6ef 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,14 @@
 Revision history for Sub-Prototype-Util
 
+0.10    2011-08-25 11:05 UTC
+        + Chg : recall() now uses "goto" to call the wrapper code (except for
+                perl 5.8.0).
+        + Chg : The internals sustained a large cleanup. This will hopefully
+                make it easier to understand and maintain.
+        + Fix : The functions of this module no longer clobber $@.
+        + Fix : Fix test failures on perl 5.8.0, and on perl 5.13.7 and above.
+        + Fix : Work around Kwalitee test misfailures.
+
 0.09    2009-06-04 22:45 UTC
         + Chg : recall() was reimplemented in terms of wrap().
         + Chg : "compile => 1" is now the default for wrap.
index fda5b4f65bc3e5d5e9720496273c604e7b02f4dd..456b7f6cadd2f96e905e1f3cb09dd8b8d3de4b32 100644 (file)
--- a/META.json
+++ b/META.json
@@ -56,5 +56,5 @@
          "url" : "http://git.profvince.com/?p=perl%2Fmodules%2FSub-Prototype-Util.git"
       }
    },
-   "version" : "0.09"
+   "version" : "0.10"
 }
index 6f11b409ae13eb7b3901efe9a63df6a5546027e9..4d0ec702fedcea954ca514a3d75eb0eb7af6cb41 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -1,32 +1,34 @@
---- #YAML:1.0
-name:               Sub-Prototype-Util
-version:            0.09
-abstract:           Prototype-related utility routines.
+---
+abstract: 'Prototype-related utility routines.'
 author:
-    - Vincent Pit <perl@profvince.com>
-license:            perl
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
+  - 'Vincent Pit <perl@profvince.com>'
 build_requires:
-    ExtUtils::MakeMaker:  0
-    Scalar::Util:         0
-    Test::More:           0
+  Carp: 0
+  Exporter: 0
+  ExtUtils::MakeMaker: 0
+  Scalar::Util: 0
+  Test::More: 0
+configure_requires:
+  ExtUtils::MakeMaker: 0
+dynamic_config: 0
+generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112150'
+license: perl
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Sub-Prototype-Util
+no_index:
+  directory:
+    - t
+    - inc
 requires:
-    Carp:          0
-    Exporter:      0
-    perl:          5.006
-    Scalar::Util:  0
+  Carp: 0
+  Exporter: 0
+  Scalar::Util: 0
+  perl: 5.006
 resources:
-    bugtracker:  http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Sub-Prototype-Util
-    homepage:    http://search.cpan.org/dist/Sub-Prototype-Util/
-    license:     http://dev.perl.org/licenses/
-    repository:  http://git.profvince.com/?p=perl%2Fmodules%2FSub-Prototype-Util.git
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.52
-meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
+  bugtracker: http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Sub-Prototype-Util
+  homepage: http://search.cpan.org/dist/Sub-Prototype-Util/
+  license: http://dev.perl.org/licenses/
+  repository: http://git.profvince.com/?p=perl%2Fmodules%2FSub-Prototype-Util.git
+version: 0.10
diff --git a/README b/README
index 04da32e0b5761ce7e981ac4be67ba05c0194be4a..040b0e70e3f3bb7106b0f2a6a05434bd16ff4fbe 100644 (file)
--- a/README
+++ b/README
@@ -2,12 +2,12 @@ NAME
     Sub::Prototype::Util - Prototype-related utility routines.
 
 VERSION
-    Version 0.09
+    Version 0.10
 
 SYNOPSIS
-        use Sub::Prototype::Util qw/flatten wrap recall/;
+        use Sub::Prototype::Util qw<flatten wrap recall>;
 
-        my @a = qw/a b c/;
+        my @a = qw<a b c>;
         my @args = ( \@a, 1, { d => 2 }, undef, 3 );
 
         my @flat = flatten '\@$;$', @args; # ('a', 'b', 'c', 1, { d => 2 })
@@ -54,7 +54,7 @@ FUNCTIONS
     "ref => $func"
         Specifies the function used in the generated code to test the
         reference type of scalars. Defaults to 'ref'. You may also want to
-        use "Scalar::Util::reftype".
+        use "reftype" in Scalar::Util.
 
     "wrong_ref => $code"
         The code executed when a reference of incorrect type is encountered.
@@ -118,7 +118,7 @@ SUPPORT
     <http://www.profvince.com/perl/cover/Sub-Prototype-Util>.
 
 COPYRIGHT & LICENSE
-    Copyright 2008-2009 Vincent Pit, all rights reserved.
+    Copyright 2008,2009,2010,2011 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.
index 2c47ba649acfc266dd06c964ba4f4451f2ff94a1..315224076b3a393c4656bb67b1a6abb3acdbb93f 100644 (file)
@@ -14,13 +14,13 @@ Sub::Prototype::Util - Prototype-related utility routines.
 
 =head1 VERSION
 
-Version 0.09
+Version 0.10
 
 =cut
 
 use vars qw<$VERSION>;
 
-$VERSION = '0.09';
+$VERSION = '0.10';
 
 =head1 SYNOPSIS