Subject: | "UNIVERSAL->import is deprecated" warning with perl 5.12 |
Hi,
the test suite for Class::Date outputs the warning "UNIVERSAL->import is
deprecated" with perl 5.12:
UNIVERSAL->import is deprecated and will be removed in a future perl at
[...]/libclass-date-perl-1.1.9/blib/lib/Class/Date.pm line 15
UNIVERSAL->import is deprecated and will be removed in a future perl at
[...]/libclass-date-perl-1.1.9/blib/lib/Class/Date.pm line 589
From perldelta5120:
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.
This was also reported in Debian as http://bugs.debian.org/578560.
Regards,
Ansgar