Dpkg::Changelog::Parse - Online Linux Manual PageSection : 3perl
Updated : 2021-04-13
Source : 1.20.9
Note : libdpkg-perl

NAMEDpkg::Changelog::Parse − generic changelog parser for dpkg−parsechangelog

DESCRIPTIONThis module provides a set of functions which reproduce all the features of dpkg-parsechangelog.

FUNCTIONS$fields = changelog_parse(%opt) This function will parse a changelog. In list context, it returns as many Dpkg::Control objects as the parser did create. In scalar context, it will return only the first one. If the parser did not return any data, it will return an empty list in list context or undef on scalar context. If the parser failed, it will die. Any parse errors will be printed as warnings on standard error, but this can be disabled by passing $opt{verbose} to 0. The changelog file that is parsed is debian/changelog by default but it can be overridden with $opt{file}. The changelog name used in output messages can be specified with $opt{label}, otherwise it will default to $opt{file}. The default output format is dpkg but it can be overridden with $opt{format}. The parsing itself is done by a parser module (searched in the standard perl library directories. That module is named according to the format that it is able to parse, with the name capitalized. By default it is either Dpkg::Changelog::Debian (from the debian format) or the format name looked up in the 40 last lines of the changelog itself (extracted with this perl regular expression \schangelog−format:\s+([0−9a−z]+)\W). But it can be overridden with $opt{changelogformat}. If $opt{compression} is false, the file will be loaded without compression support, otherwise by default compression support is disabled if the file is the default. All the other keys in %opt are forwarded to the parser module constructor.

CHANGES

Version 2.01 (dpkg 1.20.6)New option: 'verbose' in changelog_parse().

Version 2.00 (dpkg 1.20.0)Remove functions: changelog_parse_debian(), changelog_parse_plugin(). Remove warnings: For options 'forceplugin', 'libdir'.

Version 1.03 (dpkg 1.19.0)New option: 'compression' in changelog_parse().

Version 1.02 (dpkg 1.18.8)Deprecated functions: changelog_parse_debian(), changelog_parse_plugin(). Obsolete options: forceplugin, libdir.

Version 1.01 (dpkg 1.18.2)New functions: changelog_parse_debian(), changelog_parse_plugin().

Version 1.00 (dpkg 1.15.6)Mark the module as public.
0
Johanes Gumabo
Data Size   :   9,412 byte
man-Dpkg::Changelog::Parse.3perlBuild   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 259,336
Visitor ID   :     :  
Visitor IP   :   3.16.137.150   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|252|Dpkg::Changelog::Parse.3perl|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Dpkg::Changelog::Parse.3perl|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|252|Dpkg::Changelog::Parse.3perl|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Dpkg::Changelog::Parse.3perl|43|'br══─}─══ |'br══─}─══ )