mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 14:19:10 -04:00
Switch to XSLoader
This commit is contained in:
parent
f6f75fa325
commit
077ce52491
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue