info > Dpkg::Control::Info

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

📋 NAME

Dpkg::Control::Info - parse files like debian/control

🚀 Quick Reference

Use CaseCommandDescription
📂 Create and load default control file $c = Dpkg::Control::Info->new() Loads debian/control by default, or from a filename or STDIN.
🔍 Access source package info $c->get_source() Returns a Dpkg::Control object with source fields.
📦 Access binary package by index $c->get_pkg_by_idx($idx) Returns binary package info at position $idx (1‑based).
🏷️ Access binary package by name $c->get_pkg_by_name($name) Returns binary package info for the named package.
📜 Output control information $c->output([$fh]) Return content as string; optionally print to filehandle.

📝 DESCRIPTION

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

🔧 METHODS

📜 CHANGES

🔖 Version 1.01 (dpkg 1.18.0)

New argument: The $c->new() constructor accepts an %opts argument.

🔖 Version 1.00 (dpkg 1.15.6)

Mark the module as public.

Dpkg::Control::Info
📋 NAME 🚀 Quick Reference 📝 DESCRIPTION 🔧 METHODS 📜 CHANGES
🔖 Version 1.01 (dpkg 1.18.0) 🔖 Version 1.00 (dpkg 1.15.6)

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-25 14:11 @216.73.217.127
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!