info > Dpkg::Changelog

Not found locally for Dpkg::Changelog. Try Google search

📋 NAME

Dpkg::Changelog - base class to implement a changelog parser

🚀 Quick Reference

Use CaseCommandDescription
Create & load a changelogmy $c = Dpkg::Changelog->new->load('changelog')Parse a changelog file
Parse from filehandle$c->parse($fh, $desc)Read and parse changelog data
Get all entries@entries = @{$c}Array of entry objects
Output full changelog"$c" or $c->output()String representation
Format to dpkg/rfc822$c->format_range('dpkg', {count => 3})Coalesce entries into control objects
Select range by version$c->get_range({since => '2.0'})Filter entries with version criteria
Reset parse error log$c->reset_parse_errors()Clear errors from last run
Save to file$c->save($filename)Write changelog back to disk

📝 DESCRIPTION

Dpkg::Changelog is a class representing a changelog file as an array of changelog entries (Dpkg::Changelog::Entry). By deriving this class and implementing its parse method, you add the ability to fill this object with changelog entries.

🛠️ METHODS

🔄 RANGE SELECTION

A range selection is described by a hash reference where the allowed keys and values are described below.

The following options take a version number as value.

The following options don't take version numbers as values:

Some examples for the above options. Imagine an example changelog with entries for the versions 1.2, 1.3, 2.0, 2.1, 2.2, 3.0 and 3.1.

  Range                        Included entries
  -----                        ----------------
  since => '2.0'               3.1, 3.0, 2.2
  until => '2.0'               1.3, 1.2
  from  => '2.0'               3.1, 3.0, 2.2, 2.1, 2.0
  to    => '2.0'               2.0, 1.3, 1.2
  count =>  2                  3.1, 3.0
  count => -2                  1.3, 1.2
  count =>  3, offset => 2     2.2, 2.1, 2.0
  count =>  2, offset => -3    2.0, 1.3
  count => -2, offset => 3     3.0, 2.2
  count => -2, offset => -3    2.2, 2.1

Any combination of one option of since and from and one of until and to returns the intersection of the two results with only one of the options specified.

📜 CHANGES

🔹 Version 2.00 (dpkg 1.20.0)

🔹 Version 1.01 (dpkg 1.18.8)

🔹 Version 1.00 (dpkg 1.15.6)

📅 1.21.1   2025-09-09   Dpkg::Changelog(3perl)

Dpkg::Changelog
📋 NAME 🚀 Quick Reference 📝 DESCRIPTION 🛠️ METHODS 🔄 RANGE SELECTION 📜 CHANGES
🔹 Version 2.00 (dpkg 1.20.0) 🔹 Version 1.01 (dpkg 1.18.8) 🔹 Version 1.00 (dpkg 1.15.6)

Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-09 12:50 @2600:1f28:365:80b0:60b0:dfa5:fbc9:9f8f
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!