SysTutorials

Linux Manual Pages › Section 3

lintianinspectchangelogversion(3)

Lintian::Inspect::Changelog::Version — Parse a literal version string into its constituents

Synopsis

 use Lintian::Inspect::Changelog::Version;
 my $version = Lintian::Inspect::Changelog::Version->new;
 $version->set('1.2.3-4', undef);

Description

A class for parsing literal version strings

Class Methods

new ()
Creates a new Lintian::Inspect::Changelog::Version object.

Instance Methods

set (LITERAL, NATIVE)
Set the various members in the Lintian::Inspect::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

Author

Originally written by Felix Lechner <felix.lechner [at] lease-up.com> for Lintian.

See Also

lintian(1)