Lintian::C...og::Version(3)

πŸ’– Lintian::Changelog::Version(3) πŸ’–

okay bestie, so this is a page out of the Debian Package Checker Lintian manual β€” the third section, the library-functions girlies πŸ’… β€” and it's all about Lintian::Changelog::Version, a little class whose whole personality is parsing literal version strings. That's it, that's the job. slay.


✨ 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);

see how easy that is?? you make the thing, then you hand it a version string and let it do its little decomposition dance πŸ¦‹


πŸŽ€ DESCRIPTION πŸŽ€

A class for parsing literal version strings. that's the whole vibe. it takes the string you give it and splits it up into its constituent parts, because apparently that's something we need a whole object for and honestly? respect. πŸ’œ


πŸ‘‘ CLASS METHODS πŸ‘‘

new ()

Creates a new Lintian::Changelog::Version object. fresh out the box, no notes, main character energy from the very first line 🌈


πŸ’… INSTANCE METHODS πŸ’…

assign (LITERAL, NATIVE)

Assigns the various members inside the Lintian::Changelog::Version object, using the LITERAL version string plus the NATIVE boolean selector. two arguments, both matter, don't skip them πŸ™ˆ

fr fr, the LITERAL is your version string and NATIVE is the boolean selector β€” that's the setup, that's what you feed it.

Then the page just... lists the rest. no descriptions, no explanation, just names. iconic honestly, but here's every single one so you don't miss a thing:

  • 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

that's the full lineup, all fourteen of them, exactly as listed β€” ngl the doc leaves you to figure out the rest yourself, which is lowkey a vibe and highkey a test 😭


🫢 AUTHOR 🫢

Originally written by Felix Lechner <felix.lechner@lease-up.com> for Lintian. king behavior, we thank him for his service πŸ‘‘


⭐ SEE ALSO ⭐


aaaand that's the whole page babes πŸ’– this was Lintian v2.139.0ubuntu2, dated 2026-10-08, and it lives at Lintian::Changelog::Version(3) β€” go forth and parse those version strings, you absolute icon βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from