-
-
06 Dec 2021 20:23:10 UTC
- Distribution: Dpkg
- Module version: 1.00
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository (git clone)
- Issues
- Testers (34 / 0 / 39)
- Kwalitee
Bus factor: 1- License: gpl_2
- Perl: v5.28.1
- Activity
24 month- Tools
- Download (522.16KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- none
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Dpkg::Changelog::Debian - parse Debian changelogs
DESCRIPTION
This class represents a Debian changelog file as an array of changelog entries (Dpkg::Changelog::Entry::Debian). It implements the generic interface Dpkg::Changelog. Only methods specific to this implementation are described below, the rest are inherited.
Dpkg::Changelog::Debian parses Debian changelogs as described in deb-changelog(5).
The parser tries to ignore most cruft like # or /* */ style comments, RCS keywords, Vim modelines, Emacs local variables and stuff from older changelogs with other formats at the end of the file. NOTE: most of these are ignored silently currently, there is no parser error issued for them. This should become configurable in the future.
METHODS
- $count = $c->parse($fh, $description)
-
Read the filehandle and parse a Debian changelog in it, to store the entries as an array of Dpkg::Changelog::Entry::Debian objects. Any previous entries in the object are reset before parsing new data.
Returns the number of changelog entries that have been parsed with success.
CHANGES
Version 1.00 (dpkg 1.15.6)
Mark the module as public.
SEE ALSO
Dpkg::Changelog
Module Install Instructions
To install Dpkg, copy and paste the appropriate command in to your terminal.
cpanm Dpkg
perl -MCPAN -e shell install Dpkg
For more information on module installation, please visit the detailed CPAN module installation guide.