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:
literalepochno_epochupstreammaintainer_revisiondebian_sourcedebian_no_epochsource_nmubinary_nmuwithout_source_nmudebian_without_backportbackport_releasebackport_revisionwithout_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
- ubuntu stonking: lintian 2.139.0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms