Skip Menu |

This queue is for tickets about the Geo-IATA CPAN distribution.

Report information
The Basics
Id: 103473
Status: new
Priority: 0/
Queue: Geo-IATA

People
Owner: Nobody in particular
Requestors: PLICEASE [...] cpan.org
Cc:
AdminCc:

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



Subject: fix DBI/DBD::SQLite deprecation warning.
unicode attribute is deprecated. Please see attached patch for fix.
Subject: patch.txt
diff --git a/lib/Geo/IATA.pm b/lib/Geo/IATA.pm index d8381e1..595fd33 100644 --- a/lib/Geo/IATA.pm +++ b/lib/Geo/IATA.pm @@ -25,7 +25,7 @@ sub new { $path="iata_sqlite.db"; } - my $dbh = DBI->connect("dbi:SQLite:dbname=$path","","", {RaiseError => 1, sqlite_unicode=> 1}); + my $dbh = DBI->connect("dbi:SQLite:dbname=$path","","", {RaiseError => 1, unicode=> 1}); return bless {dbh => $dbh, dbname => $path}, $pkg; }