Sponsored Content
Special Forums News, Links, Events and Announcements Software Releases - RSS News Config::Model 0.623 (Default branch) Post 302197125 by Linux Bot on Tuesday 20th of May 2008 08:20:04 AM
Old 05-20-2008
Config::Model 0.623 (Default branch)

ImageConfig-Model provides a framework for validatingthe content of any configuration file or data.With a configuration model (expressed in a datastructure), Config-Model provides a tool tovalidate configuration. A graphical (Perl/Tk) or acurses interface is provided to edit configurationdata. Config-Model includes a model example forfstab and a small fstab demo.License: GNU Lesser General Public License (LGPL)Changes:
The config-edit program now supports command line arguments for changing the content of a configuration file. The 'permission' parameter was renamed to 'experience' and the 'intermediate' experience level was changed to 'beginner'. read_config and write_config declarations were changed. There were other bugfixes and small improvements.Image

More...
 
Config::Model::Itself::BackendDetector(3pm)		User Contributed Perl Documentation	       Config::Model::Itself::BackendDetector(3pm)

NAME
Config::Model::Itself::BackendDetector - Detect available read/write backends SYNOPSIS
# this class should be referenced in a configuration model and # created only by Config::Model::Node my $model = Config::Model->new() ; $model ->create_config_class ( name => "Test", 'element' => [ 'backend' => { type => 'leaf', class => 'Config::Model::Itself::BackendDetector' , value_type => 'enum', # specify backends built in Config::Model choice => [qw/cds_file perl_file ini_file augeas custom/], help => { cds_file => "file ...", ini_file => "Ini file ...", perl_file => "file perl", custom => "Custom format", augeas => "Experimental backend", } } ], ); my $root = $model->instance(root_class_name => 'Test') -> config_root ; my $backend = $root->fetch_element('backend') ; my @choices = $backend->get_choice ; DESCRIPTION
This class is derived from Config::Model::Value. It is designed to be used in a 'enum' value where the choice (the available backends) are the backend built in Config::Model and all the plugin backends. The plugin backends are all the "Config::Model::Backend::*" classes. This module will detect available plugin backend and query their pod documentation to provide a contextual help for config-model graphical editor. AUTHOR
Dominique Dumont, (ddumont at cpan dot org) SEE ALSO
Config::Model, Config::Model::Node, Config::Model::Value perl v5.14.2 2012-06-22 Config::Model::Itself::BackendDetector(3pm)
All times are GMT -4. The time now is 12:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy