Can't modify non-lvalue subroutine call at ../../lib/DhMakePerl.pm line 2186.

Jozef Kutej jozef at kutej.net
Fri Feb 26 16:13:39 UTC 2010


Hi,

"Can't modify non-lvalue subroutine call at ../../lib/DhMakePerl.pm line 2186."
in the latest trunk checkout version. Here is a patch:

--- a/lib/DhMakePerl.pm
+++ b/lib/DhMakePerl.pm
@@ -2183,7 +2183,7 @@ sub package_already_exists {
             = $apt_contents->find_perl_module_package( $self->perlname );

         if ($found) {
-            my $mod_name = $self->perlname =~ s/-/::/g;
+            (my $mod_name = $self->perlname) =~ s/-/::/g;
             warn "**********\n";
             warn "NOTICE: the package '$found', available in APT repositories\n";
             warn "        already contains a module named "

Cheers,
Jozef




More information about the pkg-perl-maintainers mailing list