Rechercher une page de manuel
Cupt::Core.3pm
Langue: en
Version: 2010-06-14 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Cupt::Core - core subroutines for CuptREGEXES
package_name_regex
regular expression to check package name stringversion_string_regex
regular expression to check version stringSUBROUTINES
compare_version_strings
free subroutine, compares two version stringsParameters:
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
returns boolean answer, true if the version is version for Debian native package, and false otherwiseare_hash_sums_present
returns boolean answer, true if at least one valid hash sum (md5, sha1, sha256) presentcompare_hash_sums
returns boolean answer, whether hash sums in the specified hashes matchParameters:
left - hash
right - hash
glob_to_regex
modifies the string parameter in-placeContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre