Config...ersion(3pm)
π NAME π
Config::Model::Dpkg::Control::Source::StandardsVersion β it's the Standards-Version model bestie, and yes the header up top is squished down to Config...ersion(3pm) but that's just the manual page doing a little shy-girl name reveal, the real name is the whole long gorgeous thing π
β¨ SYNOPSIS β¨
Internal use for DPkg model
Like, that's the whole vibe. It's an internal thing. Not for you to poke at directly, it's for the DPkg model's own use, okay?? π
π¦ DESCRIPTION π¦
okay so. This class derives from Config::Model::Value. Its whole entire purpose β its main character job β is to hand over a default value for the "Standard-Version" parameter, and it pulls that using the Lintian library β¨
That's it. That's the job. Iconic, lowkey, focused. Periodt.
π METHODS π
compare_with_last_version
This one compares the version you pass in against the latest version of "Standards-Version" π«Ά
Where does that latest version come from, you ask? The lintian package, bestie. And the actual comparison? Done with Sort::Versions. No cap.
What it gives back
It returns -1, 0 or 1, depending on whether the version you passed is older, equal, or newer than the latest version of "Standards-Version" π
-1β your version is older0β your version is equal1β your version is newer
Example
$self->compare_with_last_version('3.9.1'); # returns -1
See? '3.9.1' comes back as -1, so it's older than the newest Standards-Version. Slay π
π AUTHOR π
Dominique Dumont, reachable at ddumont [AT] cpan [DOT] org π
π SEE ALSO π
Config::ModelConfig::Model::Value
so that's the page, bestie!! π¦ no notes, absolute banger of a small module, 10/10 would derive again π this little legend lives in the perl v5.42.3 docs, dated 2026-08-30, filed under User Contributed Perl Documentation β¨ byeee πΈ
π¦ where this page comes from
- ubuntu stonking: libconfig-model-dpkg-perl 3.026 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms