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

# [NAME](#NAME)

Dpkg::Control::Tests::Entry - represents a test suite entry

# [DESCRIPTION](#DESCRIPTION)

This class represents a test suite entry.

# [METHODS](#METHODS)

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

$entry = Dpkg::Control::Tests::Entry-&gt;new(%opts)

Creates a new object. It does not represent a real control test entry until one has been successfully parsed or built from scratch.

The options are passed through to the Dpkg::Control-&gt;**new()** constructor.

$bool = $entry-&gt;parse($fh, $desc)

Parse a control test entry from a filehandle. When called multiple times, the parsed fields are accumulated.

Returns true if parsing was a success.

# [CHANGES](#CHANGES)

## [Version 1.00 (dpkg 1.18.8)](#Version_1.00_%28dpkg_1.18.8%29)

Mark the module as public.

2026-09-09 1.23.11-dirty

---

Document: Dpkg::Control::Tests::Entry(3perl) from dpkg 1.23.11-r2 (Chainguard OS)
Source: https://git.dpkg.org/git/dpkg/dpkg.git
