warning message: DBI->connect using "old-style" syntax is depreca

warning message: DBI->connect using "old-style" syntax is depreca

am 06.01.2006 15:38:33 von John Chambers

A few weeks ago, I upgraded an old Debian system to Sarge, and I started
receiving these error messages:
DBI->connect using 'old-style' syntax is deprecated and will be an error in
future versions at blib/lib/invlib.pm line 20
in my apache logs.

Now, I'm building a newer system from scratch, and when I make test my local
modules, I'm getting that message.

The scripts still work, but I prefer no warnings

What is the new syntax? Here is my call:
(my $dbh = DBI->connect( 'sheet', 'jc', 'secret', 'mysql' ) ) or die
"Cannot do \$dbh->connect: $DBI::errstr\n";

Thanks,
John Chambers

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org