Skip Menu |

This queue is for tickets about the Class-Date CPAN distribution.

Report information
The Basics
Id: 59469
Status: resolved
Priority: 0/
Queue: Class-Date

People
Owner: dlux [...] dlux.hu
Requestors: ANSGAR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.1.9
Fixed in: (no value)



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
Thanks for the report. Fixed with 1.1.10. On Sat Jul 17 02:24:57 2010, ANSGAR wrote: Show quoted text
> 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