From 077ce52491e42ad09aa99e445745d37d4f957392 Mon Sep 17 00:00:00 2001 From: Todd Rinaldo Date: Thu, 5 Nov 2020 10:54:42 -0600 Subject: [PATCH] Switch to XSLoader --- lib/DBD/SQLite.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/DBD/SQLite.pm b/lib/DBD/SQLite.pm index 2bdd6fe..996f9e7 100644 --- a/lib/DBD/SQLite.pm +++ b/lib/DBD/SQLite.pm @@ -3,10 +3,9 @@ package DBD::SQLite; use 5.006; use strict; use DBI 1.57 (); -use DynaLoader (); +use XSLoader (); our $VERSION = '1.66'; -our @ISA = 'DynaLoader'; # sqlite_version cache (set in the XS bootstrap) our ($sqlite_version, $sqlite_version_number); @@ -14,7 +13,7 @@ our ($sqlite_version, $sqlite_version_number); # not sure if we still need these... our ($err, $errstr); -__PACKAGE__->bootstrap($VERSION); +XSLoader::load('DBD::SQLite', $VERSION); # New or old API? use constant NEWAPI => ($DBI::VERSION >= 1.608);