Lintian::Pool(3)
π Lintian::Pool β bestie edition π
okay so this is the Lintian::Pool(3) page, which like, lives in the Lintian manual set (the Debian Package Checker one, you know the vibe) π and it's all about a Pool of processables. Yes bestie, a whole pool. We're pooling. We're processable. Slay.
π NAME π
Lintian::Pool β Pool of processables. That's it, that's the whole name, and honestly? Iconic.
β¨ SYNOPSIS β¨
here's the vibe, copy it exactly bestie, no cap:
use Lintian::Pool;
my $pool = Lintian::Pool->new;
$pool->add_file('foo.changes');
$pool->add_file('bar.dsc');
$pool->add_file('baz.deb');
$pool->add_file('qux.buildinfo');
foreach my $gname ($pool->get_group_names){
my $group = $pool->get_group($gname);
process($gname, $group);
}
like, you make a pool, you toss your files in (.changes, .dsc, .deb, .buildinfo β the whole little family π«Ά), and then you loop over the group names and go process them. main character energy fr fr.
π οΈ METHODS π οΈ
$pool->groupsβ hands you back a hash reference to the list of processable groups that are currently in the pool. the key is a unique identifier built from name and version. periodt."savedir"$pool->basedirβ gives you the base directory for the pool. most likely it's a temporary directory, so don't get too attached π$pool->add_group($group)β adds a group to the pool. that's the whole job, she's simple, she's efficient π$pool->processβ process the pool. yes queen, do the thing.quantity$pool->get_group_namesβ returns the name of all the groups in this pool.
β οΈ do NOT modify the list nor its contents, bestie. not even a little. hands off π
$pool->get_group($name)β returns the group called$name, or"undef"if there's no group called$name. it's giving "sorry babe, not in this pool" π$pool->emptyβ returns true if the pool is empty. vibe check: is the pool empty? this tells you πΈ
π AUTHOR π
Originally written by Niels Thykier <niels@thykier.net> for Lintian. shoutout to the legend, we stan π
π SEE ALSO π
lintian(1)Lintian::ProcessableLintian::Group
and that's the page bestie!! π¦ it's from Lintian v2.139.0ubuntu2, dated 2026-10-08 β so like, go off, read your manpage, and remember: keep the pool tidy and don't touch the group names list. mwah π πβ
π¦ where this page comes from
- ubuntu stonking: lintian 2.139.0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms