Cupt::Core.3pm

Langue: en

Autres versions - même langue

Version: 2009-06-21 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Cupt::Core - core subroutines for Cupt

REGEXES

package_name_regex

regular expression to check package name string

version_string_regex

regular expression to check version string

SUBROUTINES

compare_version_strings

free subroutine, compares two version strings

Parameters:

first_version_string

second_version_string

Returns:

-1, if the first_version_string is less than second_version_string
0, if the first_version_string is equal to second_version_string
1, if the first_version-string if greater than second_version_string

is_version_string_native

return boolean answer, true if the version is version for Debian native package, and false otherwise