man > Dpkg::Substvars

Dpkg::Substvars(3perl) libdpkg-perl Dpkg::Substvars(3perl)

📖 NAME

Dpkg::Substvars - handle variable substitution in strings

🚀 Quick Reference

Use CaseCommandDescription
Create new substvars object$s = Dpkg::Substvars->new($file)Create object with default substitutions, load from file
Set a substitution$s->set($key, $value)Add or replace a substitution variable
Get a substitution value$s->get($key)Retrieve the value of a given substitution
Substitute variables in string$s->substvars($string)Replace ${...} variables in string with their values
Save all substitutions to file$s->save($file)Write all non-automatic substvars to a file

📝 DESCRIPTION

It provides a class which is able to substitute variables in strings.

🔧 METHODS

📜 CHANGES

🔹 Version 2.00 (dpkg 1.20.0)

🔹 Version 1.06 (dpkg 1.19.0)

🔹 Version 1.05 (dpkg 1.18.11)

🔹 Version 1.04 (dpkg 1.18.0)

🔹 Version 1.03 (dpkg 1.17.11)

🔹 Version 1.02 (dpkg 1.16.5)

🔹 Version 1.01 (dpkg 1.16.4)

🔹 Version 1.00 (dpkg 1.15.6)

1.21.1 2025-09-09 Dpkg::Substvars(3perl)

Dpkg::Substvars
Dpkg::Substvars(3perl) libdpkg-perl Dpkg::Substvars(3perl) 📖 NAME 🚀 Quick Reference 📝 DESCRIPTION 🔧 METHODS 📜 CHANGES
🔹 Version 2.00 (dpkg 1.20.0) 🔹 Version 1.06 (dpkg 1.19.0) 🔹 Version 1.05 (dpkg 1.18.11) 🔹 Version 1.04 (dpkg 1.18.0) 🔹 Version 1.03 (dpkg 1.17.11) 🔹 Version 1.02 (dpkg 1.16.5) 🔹 Version 1.01 (dpkg 1.16.4) 🔹 Version 1.00 (dpkg 1.15.6)

Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 04:20 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^