DH_PERL_DBI(1)
โจ DH_PERL_DBI โจ
okay so bestie, this is dh_perl_dbi, and it lives in section 1 of the User Contributed Perl Documentation. buckle up, it's a lil guy but it does one job and it does it immaculately. ๐
๐ธ NAME ๐ธ
dh_perl_dbi โ add dependencies required for DBI modules
like... that's the whole vibe. it adds deps. for DBI modules. periodt. ๐
๐ SYNOPSIS ๐
dh_perl_dbi [debhelper options]
that's it. that's the whole invocation. feed it your usual debhelper options and let it cook. ๐
๐ฆ DESCRIPTION ๐ฆ
so dh_perl_dbi is a debhelper program, and its whole main character moment is adding a dependency on perl-dbdabi-* into the ${perl:Depends} substitution variable. that's the assignment. that's what it eats. ๐ฅ
important bestie โ that dependency is required for packages that actually use the DBD<>DBI binary interface. do not use this for packages that only use the DBI module. like, that's not it. wrong tool, wrong girl. ๐
๐ซ the addon era ๐ซ
a debhelper addon is also provided, which is genuinely so slay because it means you can just drop this into your debian/rules:
#!/usr/bin/make -f
%:
dh $@ --with perl_dbi
and honestly? iconic. โจ
โญ the shortcut โญ
alternatively โ and this is the lowkey genius part โ since libdbi-perl/1.642-1 you can just build depend on dh-sequence-perl-dbi and omit the "--with perl_dbi" part entirely. yes really. no cap. less typing, same result, we love to see it. ๐
๐ฎ SEE ALSO ๐ฎ
debhelper(7)โ go read it, it's the blueprint okay ๐ซถ- <http://bugs.debian.org/577209> โ the lore. the origin story. the receipts. ๐
๐ COPYRIGHT AND LICENSE ๐
Copyright 2010, Ansgar Burchardt <ansgar@debian.org>
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
like... free software, same terms as Perl itself, we love a permissive queen. ๐
and that's the whole page bestie, fr fr. this one came to you via perl v5.42.3, dated 2026-08-19, in the classic DH_PERL_DBI(1) flavor. mwah. ๐๐
๐ฆ where this page comes from
- ubuntu stonking: libdbi-perl 1.652-2 ยท Artistic-1.0-Perl OR GPL-1.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms