Rechercher une page de manuel
Cupt::Config.3pm
Langue: en
Version: 2010-06-14 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Cupt::Config - store and retrieve APT-style config variablesMETHODS
new
creates a new Cupt::Config objectclone
method, returns a copy of the objectget_scalar_option_names
method, returns the array of the scalar options' namesget_list_option_names
method, returns the array of the list options' namesget_string
method, returns the value of the string config option, may be undef if the option is not setParameters:
option_name - the name of the option, string
get_number
method, returns the value of the number config option, may be undef if the option is not setParameters:
option_name - the name of the option, string
get_bool
method, returns the value of the boolean config option, may be undef if the option is not setParameters:
option_name - the name of the option, string
get_list
method, returns the array of the values of the list config optionParameters:
option_name - the name of the option, string
set_scalar
method, sets scalar option option_name to option_valueParameters:
option_name - string option name to set
option_value - desired value
Returns: true on success, false on fail.
set_list
method, adds a option_value to a list option option_nameParameters:
option_name - string option name to advance
option_value - value to add
Returns: true on success, false on fail.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre