Subject: | UNIVERSAL->import is getting deprecated with Perl 5.12.0 |
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 with Perl v5.12.4:
make[1]: Entering directory `/«PKGBUILDDIR»'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
UNIVERSAL->import is deprecated and will be removed in a future perl at
/«PKGBUILDDIR»/blib/lib/Pod/MultiLang/Html.pm line 20
t/00-use.t ................ ok
UNIVERSAL->import is deprecated and will be removed in a future perl at
/«PKGBUILDDIR»/blib/lib/Pod/MultiLang/Html.pm line 20
t/01-test.t ............... ok
UNIVERSAL->import is deprecated and will be removed in a future perl at
/«PKGBUILDDIR»/blib/lib/Pod/MultiLang/Html.pm line 20
t/02-escape.t ............. ok
UNIVERSAL->import is deprecated and will be removed in a future perl at
/«PKGBUILDDIR»/blib/lib/Pod/MultiLang/Pod.pm line 16
t/03-topod.t .............. ok
UNIVERSAL->import is deprecated and will be removed in a future perl at
/«PKGBUILDDIR»/blib/lib/Pod/MultiLang/Pod.pm line 16
UNIVERSAL->import is deprecated and will be removed in a future perl at
/«PKGBUILDDIR»/blib/lib/Pod/MultiLang/Html.pm line 20
t/04-encode.t ............. ok
UNIVERSAL->import is deprecated and will be removed in a future perl at
/«PKGBUILDDIR»/blib/lib/Pod/MultiLang/Html.pm line 20
t/05-missingurl.t ......... ok
UNIVERSAL->import is deprecated and will be removed in a future perl at
/«PKGBUILDDIR»/blib/lib/Pod/MultiLang/Html.pm line 20
t/06-fragment.t ........... ok
t/pod-coverage.t .......... skipped: Test::Pod::Coverage 1.04 required
for testing POD coverage
t/pod.t ................... skipped: Test::Pod 1.14 required for testing
POD
UNIVERSAL->import is deprecated and will be removed in a future perl at
/«PKGBUILDDIR»/blib/lib/Pod/MultiLang/Pod.pm line 16
t/v014_empty_link_text.t .. ok
All tests successful.