Config::Model::Itself 0.201 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Config::Model::Itself 0.201 (Default branch)
# 1  
Old 04-07-2008
Config::Model::Itself 0.201 (Default branch)

Image Config::Model::Itself provides a configuration model for Config::Model. In other words, the structure of a model specification is described in Config::Model::Itself so you can use the same user interface to edit configuration data (for instance Xorg configuration data from xorg.conf) and Xorg model (if you need to add new parameters in Xorg model). You can also create your own configuration model to get a configuration tool for your own application. License: GNU Lesser General Public License (LGPL) Changes:
The model has been reworked to better fit with Config::Model features. config-model-edit now works when starting a new model from scratch.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
Config::Model::HashId(3pm)				User Contributed Perl Documentation				Config::Model::HashId(3pm)

NAME
Config::Model::HashId - Handle hash element for configuration model VERSION
version 2.021 SYNOPSIS
See "SYNOPSIS" in Config::Model::AnyId DESCRIPTION
This class provides hash elements for a Config::Model::Node. The hash index can either be en enumerated type, a boolean, an integer or a string. CONSTRUCTOR
HashId object should not be created directly. Hash model declaration See model declaration section from Config::Model::AnyId. Methods get_type Returns "hash". fetch_size Returns the number of elements of the hash. firstkey Returns the first key of the hash. Behaves like "each" core perl function. nextkey Returns the next key of the hash. Behaves like "each" core perl function. swap ( key1 , key2 ) Swap the order of the 2 keys. Ignored for non ordered hash. move ( key1 , key2 ) Rename key1 in key2. move_after ( key_to_move [ , after_this_key ] ) Move the first key after the second one. If the second parameter is omitted, the first key is placed in first position. Ignored for non ordered hash. move_up ( key ) Move the key up in a ordered hash. Attempt to move up the first key of an ordered hash will be ignored. Ignored for non ordered hash. move_down ( key ) Move the key down in a ordered hash. Attempt to move up the last key of an ordered hash will be ignored. Ignored for non ordered hash. load_data ( hash_ref | array_ref ) Load check_list as a hash ref for standard hash. Ordered hash should be loaded with an array ref or with a hash containing a special "__order" element. E.g. loaded with either: [ a => 'foo', b => 'bar' ] or { __order => ['a','b'], b => 'bar', a => 'foo' } AUTHOR
Dominique Dumont, (ddumont at cpan dot org) SEE ALSO
Config::Model, Config::Model::Instance, Config::Model::AnyId, Config::Model::ListId, Config::Model::Value perl v5.14.2 2012-11-09 Config::Model::HashId(3pm)