From: Vincent Pit Date: Thu, 25 Aug 2011 11:02:58 +0000 (+0200) Subject: This is 0.10 X-Git-Tag: v0.10^0 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Prototype-Util.git;a=commitdiff_plain;h=a3206d42a03b8e1e09b5f2bdddcbbfeca6ffe40f This is 0.10 --- diff --git a/Changes b/Changes index e32b0d1..cc7bed2 100644 --- 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. diff --git a/META.json b/META.json index fda5b4f..456b7f6 100644 --- 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" } diff --git a/META.yml b/META.yml index 6f11b40..4d0ec70 100644 --- 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 -license: perl -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 + - 'Vincent Pit ' 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 04da32e..040b0e7 100644 --- 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; - my @a = qw/a b c/; + my @a = qw; 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 . 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. diff --git a/lib/Sub/Prototype/Util.pm b/lib/Sub/Prototype/Util.pm index 2c47ba6..3152240 100644 --- a/lib/Sub/Prototype/Util.pm +++ b/lib/Sub/Prototype/Util.pm @@ -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