r46200 - in /branches/upstream/libclass-method-modifiers-perl/current: Changes META.yml lib/Class/Method/Modifiers.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Thu Oct 22 15:12:59 UTC 2009


Author: jawnsy-guest
Date: Thu Oct 22 15:12:40 2009
New Revision: 46200

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=46200
Log:
[svn-upgrade] Integrating new upstream version, libclass-method-modifiers-perl (1.05)

Modified:
    branches/upstream/libclass-method-modifiers-perl/current/Changes
    branches/upstream/libclass-method-modifiers-perl/current/META.yml
    branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm

Modified: branches/upstream/libclass-method-modifiers-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-method-modifiers-perl/current/Changes?rev=46200&op=diff
==============================================================================
--- branches/upstream/libclass-method-modifiers-perl/current/Changes (original)
+++ branches/upstream/libclass-method-modifiers-perl/current/Changes Thu Oct 22 15:12:40 2009
@@ -1,4 +1,7 @@
 Revision history for Class-Method-Modifiers
+
+1.05    Wed Oct 21 14:01:11 2009
+        Add install_modifier as a public API (Goro Fuji)
 
 1.04    Mon Jun 15 11:33:31 2009
         We need parens around confess if we're going to delay-load

Modified: branches/upstream/libclass-method-modifiers-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-method-modifiers-perl/current/META.yml?rev=46200&op=diff
==============================================================================
--- branches/upstream/libclass-method-modifiers-perl/current/META.yml (original)
+++ branches/upstream/libclass-method-modifiers-perl/current/META.yml Thu Oct 22 15:12:40 2009
@@ -22,4 +22,4 @@
   homepage: http://github.com/sartak/Class-Method-Modifiers/tree
   license: http://dev.perl.org/licenses/
   repository: git://github.com/sartak/Class-Method-Modifiers.git
-version: 1.04
+version: 1.05

Modified: branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm?rev=46200&op=diff
==============================================================================
--- branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm (original)
+++ branches/upstream/libclass-method-modifiers-perl/current/lib/Class/Method/Modifiers.pm Thu Oct 22 15:12:40 2009
@@ -2,11 +2,11 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.04';
+our $VERSION = '1.05';
 
 use base 'Exporter';
 our @EXPORT = qw(before after around);
-our @EXPORT_OK = @EXPORT;
+our @EXPORT_OK = (@EXPORT, 'install_modifier');
 our %EXPORT_TAGS = (
     moose => [qw(before after around)],
     all   => \@EXPORT_OK,
@@ -14,7 +14,11 @@
 
 our %MODIFIER_CACHE;
 
-sub _install_modifier {
+# for backward compatibility
+sub _install_modifier; # -w
+*_install_modifier = \&install_modifier;
+
+sub install_modifier {
     my $into  = shift;
     my $type  = shift;
     my $code  = pop;
@@ -285,6 +289,7 @@
 
 =head1 SEE ALSO
 
+L<Class::Method::Modifiers::Fast>
 L<Moose>, L<Class::Trigger>, L<Class::MOP::Method::Wrapped>, L<MRO::Compat>,
 CLOS
 




More information about the Pkg-perl-cvs-commits mailing list