Lintian::Changelog::Version -- Parse a literal version string into its constituents
Contents
Class Methods
new ()
Creates a new Lintian::Changelog::Version object.
Description
A class for parsing literal version strings
Instance Methods
assign (LITERAL, NATIVE)
Assign the various members in the Lintian::Changelog::Version object using the LITERAL version string
and the NATIVE boolean selector.
literal
epoch
no_epoch
upstream
maintainer_revision
debian_source
debian_no_epoch
source_nmu
binary_nmu
without_source_nmu
debian_without_backport
backport_release
backport_revision
without_backport
Name
Lintian::Changelog::Version -- Parse a literal version string into its constituents
See Also
lintian(1)
Lintian v2.122.0ubuntu1 2025-05-01 Lintian::Changelog::Version(3)
Synopsis
use Lintian::Changelog::Version;
my $version = Lintian::Changelog::Version->new;
$version->assign('1.2.3-4', undef);
