From: | gregoa [...] cpan.org |
Subject: | libxml-autowriter-perl: UNIVERSAL->import is getting deprecated with Perl 5.12.0 |
This bug has been forwarded from http://bugs.debian.org/614874
(The bug log also contains a patch.)
-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->
Package: libxml-autowriter-perl
Version: 0.40-1
Severity: minor
User: debian-perl@lists.debian.org
Usertags: perl-5.12-transition
From perl5120delta.pod, which lists significant changes with Perl 5.12.0:
The method C<< UNIVERSAL->import() >> is now deprecated. Attempting to
pass import arguments to a C<use UNIVERSAL> statement will result in a
deprecation warning.
From my build log on i386 with perl 5.12.3-1 from experimental:
UNIVERSAL->import is deprecated and will be removed in a future perl at /build/dom-libxml-autowriter-perl_0.40-1-i386-HrQZyC/libxml-autowriter-perl-0.40/blib/lib/XML/Doctype/ElementDecl.pm line 40
UNIVERSAL->import is deprecated and will be removed in a future perl at /build/dom-libxml-autowriter-perl_0.40-1-i386-HrQZyC/libxml-autowriter-perl-0.40/blib/lib/XML/ValidWriter.pm line 268
UNIVERSAL->import is deprecated and will be removed in a future perl at t/auto.t line 18
UNIVERSAL->import is deprecated and will be removed in a future perl at t/cm_re.t line 17
UNIVERSAL->import is deprecated and will be removed in a future perl at t/dtd.t line 11
UNIVERSAL->import is deprecated and will be removed in a future perl at t/escape.t line 17
UNIVERSAL->import is deprecated and will be removed in a future perl at t/foo.t line 17
UNIVERSAL->import is deprecated and will be removed in a future perl at t/valid.t line 17
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--
Thanks in advance,
gregor herrmann, Debian Perl Group