r57186 - in /trunk/dh-make-perl: Changes lib/DhMakePerl/Command/Packaging.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Fri Apr 30 20:05:54 UTC 2010


Author: dmn
Date: Fri Apr 30 20:05:45 2010
New Revision: 57186

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57186
Log:
replace CPAN::Config->load with CPAN:Handle::Config->load

the former seems obsolete and only warns:
    Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConfig

Modified:
    trunk/dh-make-perl/Changes
    trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm

Modified: trunk/dh-make-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/Changes?rev=57186&op=diff
==============================================================================
--- trunk/dh-make-perl/Changes (original)
+++ trunk/dh-make-perl/Changes Fri Apr 30 20:05:45 2010
@@ -25,3 +25,8 @@
 
     make: try harder to discover already existing package by looking up
         distribution modules in APT contents and dpkg file lists.
+
+    replace CPAN::Config->load with CPAN:Handle::Config->load
+        the former seems obsolete and only warns:
+            Dispatching deprecated method 'CPAN::Config::load' to
+            CPAN::HandleConfig

Modified: trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm?rev=57186&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm Fri Apr 30 20:05:45 2010
@@ -1086,7 +1086,7 @@
 
     return if $CPAN::Config_loaded;
 
-    CPAN::Config->load( be_silent => not $self->cfg->verbose );
+    CPAN::HandleConfig->load( be_silent => not $self->cfg->verbose );
 
     unshift( @{ $CPAN::Config->{'urllist'} }, $self->cfg->cpan_mirror )
         if $self->cfg->cpan_mirror;




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