Import upstream version 1.2+git20140713.1.ebf8b54
Debian Janitor
2 years ago
3 | 3 |
"Lubomir Rintel <lkundrak@v3.sk>"
|
4 | 4 |
],
|
5 | 5 |
"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",
|
7 | 7 |
"license" : [
|
8 | 8 |
"perl_5"
|
9 | 9 |
],
|
10 | 10 |
"meta-spec" : {
|
11 | 11 |
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
|
12 | |
"version" : "2"
|
|
12 |
"version" : 2
|
13 | 13 |
},
|
14 | 14 |
"name" : "Database-DumpTruck",
|
15 | 15 |
"prereqs" : {
|
|
53 | 53 |
"url" : "https://github.com/lkundrak/perl-database-dumptruck"
|
54 | 54 |
}
|
55 | 55 |
},
|
56 | |
"version" : "1.2"
|
|
56 |
"version" : "1.2",
|
|
57 |
"x_serialization_backend" : "JSON::PP version 4.04"
|
57 | 58 |
}
|
2 | 2 |
author:
|
3 | 3 |
- 'Lubomir Rintel <lkundrak@v3.sk>'
|
4 | 4 |
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'
|
9 | 9 |
configure_requires:
|
10 | |
Module::Build: 0
|
|
10 |
Module::Build: '0'
|
11 | 11 |
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'
|
13 | 13 |
license: perl
|
14 | 14 |
meta-spec:
|
15 | 15 |
url: http://module-build.sourceforge.net/META-spec-v1.4.html
|
16 | |
version: 1.4
|
|
16 |
version: '1.4'
|
17 | 17 |
name: Database-DumpTruck
|
18 | 18 |
provides:
|
19 | 19 |
Database::DumpTruck:
|
20 | 20 |
file: lib/Database/DumpTruck.pm
|
21 | |
version: 1.2
|
|
21 |
version: '1.2'
|
22 | 22 |
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'
|
27 | 27 |
resources:
|
28 | 28 |
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Database-DumpTruck
|
29 | 29 |
license: http://dev.perl.org/licenses/
|
30 | 30 |
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'
|
5 | 5 |
|
6 | 6 |
=head1 SYNOPSIS
|
7 | 7 |
|
|
8 |
use Database::DumpTruck;
|
8 | 9 |
my $dt = new Database::DumpTruck;
|
9 | 10 |
|
10 | 11 |
$dt->insert({Hello => 'World'});
|
|
164 | 165 |
|
165 | 166 |
Enable automatic commit.
|
166 | 167 |
|
|
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 |
|
167 | 174 |
=back
|
168 | 175 |
|
169 | 176 |
=cut
|
|
313 | 320 |
$self->{dbh}->quote ($table_name),
|
314 | 321 |
$self->{dbh}->quote ($k), get_column_type ($v)) };
|
315 | 322 |
die if $@ and not $@ =~ /duplicate column name/;
|
|
323 |
undef $@;
|
316 | 324 |
}
|
317 | 325 |
}
|
318 | 326 |
|
|
568 | 576 |
This program is free software; you can redistribute it and/or modify it
|
569 | 577 |
under the same terms as Perl itself.
|
570 | 578 |
|
571 | |
=head1 AUTHOR
|
|
579 |
=head1 AUTHORS
|
572 | 580 |
|
573 | 581 |
Lubomir Rintel L<< <lkundrak@v3.sk> >>
|
574 | 582 |
|
|
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 |
|
575 | 586 |
=cut
|
576 | 587 |
|
577 | 588 |
1;
|