diff -up DBD-SQLite-1.48/README.orig DBD-SQLite-1.48/README --- DBD-SQLite-1.48/README.orig 2015-06-15 09:49:42.721350091 +0200 +++ DBD-SQLite-1.48/README 2015-06-15 09:50:38.683071491 +0200 @@ -1222,36 +1222,6 @@ R* TREE SUPPORT using callbacks, as mentioned in the prior link, have not been implemented yet. -FOR DBD::SQLITE EXTENSION AUTHORS - Since 1.30_01, you can retrieve the bundled sqlite C source and/or - header like this: - - use File::ShareDir 'dist_dir'; - use File::Spec::Functions 'catfile'; - - # the whole sqlite3.h header - my $sqlite3_h = catfile(dist_dir('DBD-SQLite'), 'sqlite3.h'); - - # or only a particular header, amalgamated in sqlite3.c - my $what_i_want = 'parse.h'; - my $sqlite3_c = catfile(dist_dir('DBD-SQLite'), 'sqlite3.c'); - open my $fh, '<', $sqlite3_c or die $!; - my $code = do { local $/; <$fh> }; - my ($parse_h) = $code =~ m{( - /\*+[ ]Begin[ ]file[ ]$what_i_want[ ]\*+ - .+? - /\*+[ ]End[ ]of[ ]$what_i_want[ ]\*+/ - )}sx; - open my $out, '>', $what_i_want or die $!; - print $out $parse_h; - close $out; - - You usually want to use this in your extension's "Makefile.PL", and you - may want to add DBD::SQLite to your extension's "CONFIGURE_REQUIRES" to - ensure your extension users use the same C source/header they use to - build DBD::SQLite itself (instead of the ones installed in their - system). - TO DO The following items remain to be done. diff -up DBD-SQLite-1.48/lib/DBD/SQLite.pm.orig DBD-SQLite-1.48/lib/DBD/SQLite.pm --- DBD-SQLite-1.48/lib/DBD/SQLite.pm.orig 2015-06-15 09:50:03.658619993 +0200 +++ DBD-SQLite-1.48/lib/DBD/SQLite.pm 2015-06-15 09:51:02.348376559 +0200 @@ -2465,37 +2465,6 @@ sources, etc. Other Perl virtual tables may also be published separately on CPAN. -=head1 FOR DBD::SQLITE EXTENSION AUTHORS - -Since 1.30_01, you can retrieve the bundled SQLite C source and/or -header like this: - - use File::ShareDir 'dist_dir'; - use File::Spec::Functions 'catfile'; - - # the whole sqlite3.h header - my $sqlite3_h = catfile(dist_dir('DBD-SQLite'), 'sqlite3.h'); - - # or only a particular header, amalgamated in sqlite3.c - my $what_i_want = 'parse.h'; - my $sqlite3_c = catfile(dist_dir('DBD-SQLite'), 'sqlite3.c'); - open my $fh, '<', $sqlite3_c or die $!; - my $code = do { local $/; <$fh> }; - my ($parse_h) = $code =~ m{( - /\*+[ ]Begin[ ]file[ ]$what_i_want[ ]\*+ - .+? - /\*+[ ]End[ ]of[ ]$what_i_want[ ]\*+/ - )}sx; - open my $out, '>', $what_i_want or die $!; - print $out $parse_h; - close $out; - -You usually want to use this in your extension's C, -and you may want to add DBD::SQLite to your extension's C -to ensure your extension users use the same C source/header they use -to build DBD::SQLite itself (instead of the ones installed in their -system). - =head1 TO DO The following items remain to be done.