r29450 - /trunk/dh-make-perl/lib/DhMakePerl.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Jan 7 21:29:48 UTC 2009


Author: dmn
Date: Wed Jan  7 21:29:45 2009
New Revision: 29450

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=29450
Log:
process_meta: fix sub params retrieval

fixes inability to parse META.yml

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

Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=29450&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Wed Jan  7 21:29:45 2009
@@ -469,10 +469,9 @@
 }
 
 sub process_meta {
-    my ($self) = @_;
-
-    my ( $file, $yaml );
-    $file = shift;
+    my ( $self, $file ) = @_;
+
+    my $yaml;
 
     # Command line option nometa causes this function not to be run
     return {} if $self->cfg->nometa;




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