---
name: "Dpkg::Control::Tests"
section: "3perl"
platform: "linux"
package: "dpkg"
version: "1.23.11-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Dpkg::Control::Tests/3perl"
---

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

parse files like debian/tests/control

## NAME

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

## 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.

- $ctrl\_tests = Dpkg::Control::Tests-\>new(%opts)

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

  The options are passed through to the Dpkg::Index-\>**new()** constructor.

- $item = $ctrl\_tests-\>**new\_item()**

  Creates a new item.

## CHANGES

### Version 1.00 (dpkg 1.18.8)

Mark the module as public.
