Skip Menu |

This queue is for tickets about the SQL-DB CPAN distribution.

Report information
The Basics
Id: 77793
Status: resolved
Priority: 0/
Queue: SQL-DB

People
Owner: Nobody in particular
Requestors: chen.yack [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.18
Fixed in: (no value)



Subject: sql::DB‘s code is old , need to be update
UNIVERSAL->import is deprecated and will be removed in a future perl at /home/admin/localperl//lib/site_perl/5.14.1/SQL/DB/Schema/Expr.pm line 5 UNIVERSAL->import is deprecated and will be removed in a future perl at /home/admin/localperl//lib/site_perl/5.14.1/SQL/DB/Schema/AColumn.pm line 7 UNIVERSAL->import is deprecated and will be removed in a future perl at /home/admin/localperl//lib/site_perl/5.14.1/SQL/DB/Schema/Query.pm line 6 UNIVERSAL->import is deprecated and will be removed in a future perl at /home/admin/localperl//lib/site_perl/5.14.1/SQL/DB.pm line 8 UNIVERSAL import is deprecated , pls update code ,thanks !
Subject: Re: [rt.cpan.org #77793] sql::DB‘s code is old , need to be update
Date: Fri, 15 Jun 2012 16:11:23 +1200
To: chinaxing via RT <bug-SQL-DB [...] rt.cpan.org>
From: Mark Lawrence <nomad [...] null.net>
Hello Chinaxing, Thanks for your report. Show quoted text
> UNIVERSAL->import is deprecated and will be removed in a future perl at > /home/admin/localperl//lib/site_perl/5.14.1/SQL/DB/Schema/Expr.pm line 5
Although I haven't make a release to CPAN in a long time, SQL::DB is still under major development. In the latest version the UNIVERSAL::isa stuff is removed. I hope you are not relying on the 0.18 interface in production. Many changes have occured. See the "devel" branch below for the latest code: https://github.com/mlawren/sql-db/tree/devel Regards, Mark. -- Mark Lawrence
Latest version does not depend on calling UNIVERSAL functions in a depreciated way. -- Mark Lawrence