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

Dpkg::Control::Tests::Entry3perl

Represents a test suite entry

Overview

This class represents a test suite entry.

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->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->new() constructor.

$bool = $entry->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

Version 1.00 (dpkg 1.18.8)

Mark the module as public.

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

From dpkg 1.23.11-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.