Codebase list libdatabase-dumptruck-perl / 1f15c11
Import upstream version 1.2+git20140713.1.ebf8b54 Debian Janitor 2 years ago
3 changed file(s) with 30 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
33 "Lubomir Rintel <lkundrak@v3.sk>"
44 ],
55 "dynamic_config" : 1,
6 "generated_by" : "Module::Build version 0.4007, CPAN::Meta::Converter version 2.132140",
6 "generated_by" : "Module::Build version 0.4231",
77 "license" : [
88 "perl_5"
99 ],
1010 "meta-spec" : {
1111 "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
12 "version" : "2"
12 "version" : 2
1313 },
1414 "name" : "Database-DumpTruck",
1515 "prereqs" : {
5353 "url" : "https://github.com/lkundrak/perl-database-dumptruck"
5454 }
5555 },
56 "version" : "1.2"
56 "version" : "1.2",
57 "x_serialization_backend" : "JSON::PP version 4.04"
5758 }
22 author:
33 - 'Lubomir Rintel <lkundrak@v3.sk>'
44 build_requires:
5 File::Temp: 0
6 Test::Exception: 0
7 Test::More: 0
8 Test::Pod: 1.00
5 File::Temp: '0'
6 Test::Exception: '0'
7 Test::More: '0'
8 Test::Pod: '1.00'
99 configure_requires:
10 Module::Build: 0
10 Module::Build: '0'
1111 dynamic_config: 1
12 generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version 2.132140'
12 generated_by: 'Module::Build version 0.4231, CPAN::Meta::Converter version 2.150010'
1313 license: perl
1414 meta-spec:
1515 url: http://module-build.sourceforge.net/META-spec-v1.4.html
16 version: 1.4
16 version: '1.4'
1717 name: Database-DumpTruck
1818 provides:
1919 Database::DumpTruck:
2020 file: lib/Database/DumpTruck.pm
21 version: 1.2
21 version: '1.2'
2222 requires:
23 B: 0
24 DBD::SQLite: 0
25 DBI: 0
26 JSON: 0
23 B: '0'
24 DBD::SQLite: '0'
25 DBI: '0'
26 JSON: '0'
2727 resources:
2828 bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Database-DumpTruck
2929 license: http://dev.perl.org/licenses/
3030 repository: https://github.com/lkundrak/perl-database-dumptruck
31 version: 1.2
31 version: '1.2'
32 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
55
66 =head1 SYNOPSIS
77
8 use Database::DumpTruck;
89 my $dt = new Database::DumpTruck;
910
1011 $dt->insert({Hello => 'World'});
164165
165166 Enable automatic commit.
166167
168 =item B<debug> (Default: C<undef>)
169
170 Print SQL statements to C<STDERR> as they are executed. Please note that,
171 while potentially useful, this might be somewhat confusing. Enable with
172 care if you're a sensitive person, or a DBA.
173
167174 =back
168175
169176 =cut
313320 $self->{dbh}->quote ($table_name),
314321 $self->{dbh}->quote ($k), get_column_type ($v)) };
315322 die if $@ and not $@ =~ /duplicate column name/;
323 undef $@;
316324 }
317325 }
318326
568576 This program is free software; you can redistribute it and/or modify it
569577 under the same terms as Perl itself.
570578
571 =head1 AUTHOR
579 =head1 AUTHORS
572580
573581 Lubomir Rintel L<< <lkundrak@v3.sk> >>
574582
583 The code is hosted on GitHub L<https://github.com/lkundrak/perl-database-dumptruck>.
584 Bug fixes and feature enhancements are always welcome.
585
575586 =cut
576587
577588 1;