Config...ersion(3pm)

πŸ“¦ version 3.026, in ubuntu stonking

πŸ’– 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 older
  • 0 β†’ your version is equal
  • 1 β†’ 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::Model
  • Config::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