[PATCH] Make Lintian::Output work with Class::Accessor >= 0.34
Niko Tyni
ntyni at debian.org
Mon Sep 21 10:32:52 UTC 2009
As seen in <http://bugs.debian.org/547631>, the multiple inheritance
in Lintian::Output breaks with Class::Accessor >= 0.34 because the
default method resolution order finds Class::Accessor::import()
before Exporter::import().
---
lib/Lintian/Output.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/Lintian/Output.pm b/lib/Lintian/Output.pm
index bb0ed82..e00e96c 100644
--- a/lib/Lintian/Output.pm
+++ b/lib/Lintian/Output.pm
@@ -22,7 +22,7 @@ use strict;
use warnings;
use v5.8.0; # for PerlIO
-use base qw(Class::Accessor Exporter);
+use base qw(Exporter Class::Accessor);
# Force export as soon as possible, since some of the modules we load also
# depend on us and the sequencing can cause things not to be exported
--
1.6.3.3
--9jxsPFA5p3P2qPhR--
More information about the pkg-perl-maintainers
mailing list