info > Dpkg::Conf

📛 NAME

Dpkg::Conf - parse dpkg configuration files

🚀 Quick Reference

💡 Use Case⚡ Command📝 Description
Create parsermy $conf = Dpkg::Conf->new()Instantiate a config object (optionally pass allow_short)
Load config file$conf->load('file.cfg')Read options from a file
Load user config$conf->load_user_config('file')Read from XDG user config path
Parse file handle$conf->parse($fh)Accumulate options from an open handle
Filter options$conf->filter(remove => sub { ... })Remove or keep options based on a test
Output options$conf->output()Get string representation of all options
Save to file$conf->save('file.cfg')Write options back to a file

📖 DESCRIPTION

The Dpkg::Conf object can be used to read options from a configuration file. It can export an array that can then be parsed exactly like @ARGV.

🔧 METHODS

🔄 CHANGES

🔹 Version 1.04 (dpkg 1.20.0)

🔹 Version 1.03 (dpkg 1.18.8)

🔹 Version 1.02 (dpkg 1.18.5)

🔹 Version 1.01 (dpkg 1.15.8)

🔹 Version 1.00 (dpkg 1.15.6)


📅 Version 1.21.1, 2025-09-09 — Dpkg::Conf(3perl)

Dpkg::Conf
📛 NAME 🚀 Quick Reference 📖 DESCRIPTION 🔧 METHODS 🔄 CHANGES
🔹 Version 1.04 (dpkg 1.20.0) 🔹 Version 1.03 (dpkg 1.18.8) 🔹 Version 1.02 (dpkg 1.18.5) 🔹 Version 1.01 (dpkg 1.15.8) 🔹 Version 1.00 (dpkg 1.15.6)

Generated by phpman v4.9.25-3-gdbaf087 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-06 23:12 @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

^_top_^