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 ๐Ÿ”ฎ


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