In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/fd09fb46b20a60bca1df0e3f554d1df854923cc7?hp=d6390205f1ab550bd272da547d5a3d0cd3679151>

- Log -----------------------------------------------------------------
commit fd09fb46b20a60bca1df0e3f554d1df854923cc7
Author: Chris 'BinGOs' Williams <[email protected]>
Date:   Wed Jan 23 14:59:03 2013 +0000

    Update Object-Accessor to CPAN version 0.46
    
      [DELTA]
    
      Changes for 0.46    Wed Jan 23 14:09:11 GMT  2013
      =================================================
      * Add deprecate usage to warn if module is loaded
        from corelib. Object::Accessor is leading core
        with v5.20.0, but will remain available from
        CPAN.
-----------------------------------------------------------------------

Summary of changes:
 Porting/Maintainers.pl                      |    2 +-
 cpan/Object-Accessor/lib/Object/Accessor.pm |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index d8dee7e..bf3b9ee 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -1336,7 +1336,7 @@ use File::Glob qw(:case);
 
     'Object::Accessor' => {
         'MAINTAINER'   => 'kane',
-        'DISTRIBUTION' => 'BINGOS/Object-Accessor-0.44.tar.gz',
+        'DISTRIBUTION' => 'BINGOS/Object-Accessor-0.46.tar.gz',
         'FILES'        => q[cpan/Object-Accessor],
         'UPSTREAM'     => 'cpan',
     },
diff --git a/cpan/Object-Accessor/lib/Object/Accessor.pm 
b/cpan/Object-Accessor/lib/Object/Accessor.pm
index 106e70e..9a93090 100644
--- a/cpan/Object-Accessor/lib/Object/Accessor.pm
+++ b/cpan/Object-Accessor/lib/Object/Accessor.pm
@@ -1,4 +1,5 @@
 package Object::Accessor;
+use if $] > 5.017, 'deprecate';
 
 use strict;
 use Carp            qw[carp croak];
@@ -9,7 +10,7 @@ use Params::Check   qw[allow];
 ### disable string overloading for callbacks
 require overload;
 
-$VERSION    = '0.44';
+$VERSION    = '0.46';
 $FATAL      = 0;
 $DEBUG      = 0;
 

--
Perl5 Master Repository

Reply via email to