diff options
author | Karl Berry <karl@freefriends.org> | 2014-04-23 21:46:20 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-04-23 21:46:20 +0000 |
commit | 300c1eb6d37d46078d448d6d58938d5a80cd68ff (patch) | |
tree | 23a0a8b9f8f5460b405119c4d3c163d2d488ca5e /Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Source/SQLite.pm | |
parent | ed55d86b7c5e18f6eccce80a1fb1423ca40a23b5 (diff) |
(tl)perl 5.18.2 for windows from siep
git-svn-id: svn://tug.org/texlive/trunk@33648 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Source/SQLite.pm')
-rw-r--r-- | Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Source/SQLite.pm | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Source/SQLite.pm b/Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Source/SQLite.pm index 47bdbebfd77..50f82f485c9 100644 --- a/Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Source/SQLite.pm +++ b/Master/tlpkg/tlperl/lib/CPANPLUS/Internals/Source/SQLite.pm @@ -1,4 +1,5 @@ package CPANPLUS::Internals::Source::SQLite; +use deprecate; use strict; use warnings; @@ -16,6 +17,9 @@ use DBD::SQLite; use Params::Check qw[allow check]; use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext'; +use vars qw[$VERSION]; +$VERSION = "0.9135"; + use constant TXN_COMMIT => 1000; =head1 NAME @@ -240,7 +244,6 @@ CPANPLUS::Internals::Source::SQLite - SQLite implementation *$sub = sub { my $self = shift; my %hash = @_; - my $dbh = $self->__sqlite_dbh; my($list,$type); my $tmpl = { @@ -256,9 +259,15 @@ CPANPLUS::Internals::Source::SQLite - SQLite implementation ### we aliased 'module' to 'name', so change that here too $type = 'module' if $type eq 'name'; + my $meth = $table .'_tree'; + + { + my $throw = $self->$meth; + } + + my $dbh = $self->__sqlite_dbh; my $res = $dbh->query( "SELECT * from $table" ); - my $meth = $table .'_tree'; my @rv = map { $self->$meth( $_->{$key} ) } grep { allow( $_->{$type} => $list ) } $res->hashes; |