r56119 - /trunk/dh-make-perl/lib/Debian/Rules.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Apr 15 08:50:08 UTC 2010


Author: dmn
Date: Thu Apr 15 08:49:55 2010
New Revision: 56119

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=56119
Log:
Rules::DESTROY: correctly chain destruction to Class::Accessor

Modified:
    trunk/dh-make-perl/lib/Debian/Rules.pm

Modified: trunk/dh-make-perl/lib/Debian/Rules.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/Debian/Rules.pm?rev=56119&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/Debian/Rules.pm (original)
+++ trunk/dh-make-perl/lib/Debian/Rules.pm Thu Apr 15 08:49:55 2010
@@ -361,7 +361,7 @@
 
     $self->write if $self->filename;
 
-    $self->SUPER::DESTROY;
+    bless $self, 'Class::Accessor'; # chain destruction
 }
 
 =back




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