info > Dpkg::Control::Tests

Dpkg::Control::Tests(3perl) libdpkg-perl Dpkg::Control::Tests(3perl)

📄 NAME

Dpkg::Control::Tests - parse files like debian/tests/control

🚀 Quick Reference

Use CaseCommandDescription
Parse a control filemy $tests = Dpkg::Control::Tests->new(); $tests->load($file);Load and parse debian/tests/control
Iterate test entriesforeach my $test ($tests->get()) { ... }Process each test entry
Create a new entry$tests->new_item()Return empty test entry for population

📖 DESCRIPTION

It provides a class to access data of files that follow the same syntax as debian/tests/control.

🛠️ METHODS

All the methods of Dpkg::Index are available. Those listed below are either new or overridden with a different behavior.

🏗️ new()

$c = Dpkg::Control::Tests->new(%opts)

Create a new Dpkg::Control::Tests object, which inherits from Dpkg::Index.

🏭 new_item()

$item = $tests->new_item()

Creates a new item.

📜 CHANGES

Version 1.00 (dpkg 1.18.8)
Mark the module as public.

1.21.1 2025-09-09 Dpkg::Control::Tests(3perl)

Dpkg::Control::Tests
📄 NAME 🚀 Quick Reference 📖 DESCRIPTION 🛠️ METHODS
🏗️ new() 🏭 new_item()
📜 CHANGES

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)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-pro / taotoken.net / www.chedong.com - original format