r57429 - in /trunk/dh-make-perl: Changes lib/DhMakePerl/Config.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Tue May 4 05:30:29 UTC 2010


Author: dmn
Date: Tue May  4 05:30:22 2010
New Revision: 57429

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57429
Log:
Config: honour values given to the constructor

this allows ::make to create a usable clone of its config

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

Modified: trunk/dh-make-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/Changes?rev=57429&op=diff
==============================================================================
--- trunk/dh-make-perl/Changes (original)
+++ trunk/dh-make-perl/Changes Tue May  4 05:30:22 2010
@@ -13,6 +13,8 @@
         Debian bug #580101
 
     modules_already_packaged: fix ModuleInfo instantiation
+
+    Config: honour values given to the constructor
 
 0.67
     POD: drop "--" in front of the commands.

Modified: trunk/dh-make-perl/lib/DhMakePerl/Config.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Config.pm?rev=57429&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Config.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Config.pm Tue May  4 05:30:22 2010
@@ -94,11 +94,11 @@
                 : ()
             ),
             cpan2deb    => $cpan2deb,
-            @_,
+            %$values,
         },
     );
 
-    $self->_explicitly_set( {} );
+    $self->_explicitly_set( {} ) unless $self->_explicitly_set;
 
     return $self;
 }




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