Dpkg::Control::Tests(3perl) libdpkg-perl Dpkg::Control::Tests(3perl)
Dpkg::Control::Tests - parse files like debian/tests/control
| Use Case | Command | Description |
|---|---|---|
| Parse a control file | my $tests = Dpkg::Control::Tests->new(); $tests->load($file); | Load and parse debian/tests/control |
| Iterate test entries | foreach my $test ($tests->get()) { ... } | Process each test entry |
| Create a new entry | $tests->new_item() | Return empty test entry for population |
It provides a class to access data of files that follow the same syntax as debian/tests/control.
All the methods of Dpkg::Index are available. Those listed below are either new or overridden with a different behavior.
$c = Dpkg::Control::Tests->new(%opts)
Create a new Dpkg::Control::Tests object, which inherits from Dpkg::Index.
$item = $tests->new_item()
Creates a new item.
Version 1.00 (dpkg 1.18.8)
Mark the module as public.
1.21.1 2025-09-09 Dpkg::Control::Tests(3perl)
Generated by phpman v4.9.25-3-gdbaf087 Author: Che Dong Under GNU General Public License
2026-07-06 23:11 @216.73.217.93
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format