| 1 |
Source: libima-dbi-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Section: perl |
| 4 |
Priority: optional |
| 5 |
Build-Depends: debhelper-compat (= 13) |
| 6 |
Build-Depends-Indep: perl, |
| 7 |
libclass-data-inheritable-perl, |
| 8 |
libdbi-perl, |
| 9 |
libdbix-contextualfetch-perl, |
| 10 |
libtest-pod-coverage-perl, |
| 11 |
libtest-pod-perl |
| 12 |
Standards-Version: 3.9.5 |
| 13 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libima-dbi-perl |
| 14 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libima-dbi-perl.git |
| 15 |
Homepage: https://metacpan.org/release/Ima-DBI |
| 16 |
Testsuite: autopkgtest-pkg-perl |
| 17 |
|
| 18 |
Package: libima-dbi-perl |
| 19 |
Architecture: all |
| 20 |
Depends: ${perl:Depends}, |
| 21 |
${misc:Depends}, |
| 22 |
libclass-data-inheritable-perl, |
| 23 |
libdbi-perl, |
| 24 |
libdbix-contextualfetch-perl |
| 25 |
Description: module for database connection caching and organization |
| 26 |
Ima::DBI attempts to organize and facilitate caching and more |
| 27 |
efficient use of database connections and statement handles. |
| 28 |
. |
| 29 |
One of the things that can be annoying about writing large programs |
| 30 |
with DBI is making sure that you do not have duplicate database |
| 31 |
handles open. There is also the issue of the somewhat wasteful nature |
| 32 |
of the prepare/execute/finish route that users tend to go through. |
| 33 |
. |
| 34 |
The new DBI->connect_cached and DBI->prepare_cached help a lot, but |
| 35 |
you still have to throw around global information about the data |
| 36 |
source, username and password. |
| 37 |
. |
| 38 |
So, after a while the author grew a small library of DBI helper |
| 39 |
routines and techniques. Ima::DBI is the culmination of all this, |
| 40 |
put into a nice(?), clean(?) class to be inherited from. |