Rechercher une page de manuel
Cupt::Cache::Relation.3pm
Langue: en
Version: 2010-06-14 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Cupt::Cache::Relation - store and combine information about package interrelationsMETHODS
new
creates new Cupt::Cache::Relation objectParameters:
relation_string - bare relation string (examples: "nlkt", "nlkt (>= 0.3.1)"
stringify
method, returns canonical stringified form of the relationstringify_relation_expression
free subroutine, returns canonical stringified form of the ``Relation expression''Parameters:
relation_expression - ``Relation expression'' to stringify
stringify_relation_expressions
free subroutine, returns canonical stringified form of the ``Relation expression'''s as a lineParameters:
relation_expressions - [ ``Relation expression'' ... ]
satisfied_by
method, returns whether is this relation satisfied with the supplied version of the relation's packageParameters:
version_string - version string to check
parse_relation_expression
free subroutine, parses relation expression in string form, builds ``Relation expression'' and returns itparse_relation_line
free subroutine, parses line of relation expressions, builds array of ``Relation expression''s and returns reference to itRelation expression
Can be in two forms:- •
- relation, which stands for single relation
- •
- [ relation ... ], which stands for relation OR group, where only one of relations need to be satisfied
where
relation - Cupt::Cache::Relation object
SEE ALSO
Debian Policy 7.1Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre