logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Config::Model::Dpkg::Control::Source::StandardVersion - Standard-Version model

Author

       Dominique Dumont, ddumont [AT] cpan [DOT] org

Description

       This class is derived from Config::Model::Value. Its purpose is to provide a default value for
       "Standard-Version" parameter using Lintian library.

Methods

compare_with_last_version
       Compare passed version with the latest version of "Standards-Version". This last version is retrieved
       from "lintian" package. The comparison is done with Sort::Versions.

       This methods return -1, 0 or 1 depending if the passed version is older, equal or newer than latest
       version of "Standards-Version"

       Example:

        $self->compare_with_last_version('3.9.1'); # returns -1

Name

       Config::Model::Dpkg::Control::Source::StandardVersion - Standard-Version model

See Also

       Config::Model, Config::Model::Value,

perl v5.40.1                                       2025-04-10              Config::Model:...StandardVersion(3pm)

Synopsis

        Internal use for DPkg model

See Also