---
name: "Lintian::Changelog::Version"
section: "3"
platform: "linux"
package: "lintian"
version: "2.122.0"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Lintian::Changelog::Version"
---

# Lintian::Changelog::Version(3)

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

A class for parsing literal version strings

## CLASS METHODS

- new ()

  Creates a new Lintian::Changelog::Version object.

## 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

  ## AUTHOR

Originally written by Felix Lechner \<felix.lechner@lease-up.com\> for Lintian.

## SEE ALSO

[**lintian**(1)](/lintian/1.md)
