Config::Model 0.632 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Config::Model 0.632 (Default branch)
# 1  
Old 12-22-2008
Config::Model 0.632 (Default branch)

ImageConfig-Model provides a framework for editing and validating the content of any configuration file or data. With a configuration model (expressed in a data structure), Config-Model provides a user interface and a tool to validate configuration. An optional graphical (Perl/Tk) or curses interface can be used to edit configuration data that will be validated according to the user-provided model. Config-Model includes a model example for fstab and a small fstab demo.License: GNU Lesser General Public License (LGPL)Changes:
This release adds an option to the config-edit command so the user can choose which read/write backend to use. For instance, with "config-edit-sshd -backend augeas", the user selects Augeas to read and write the /etc/ssh/sshd_config file.Image

Image

More...
Login or Register to Ask a Question

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

NAME
Config::Model::Exception - Exception mechanism for configuration model VERSION
version 2.021 SYNOPSIS
# internal DESCRIPTION
You must read Exception::Class before reading on. This module creates all the exception class used by Config::Model. All exception class name begins with "Config::Model::Exception::" The exception classes are: "Any" Base class. It accepts an "object" argument. The user must pass the reference of the object where the exception occurred. The object name will be used to generate the error message. TODO: list all exception classes and hierarchy. How to get trace By default, most of the exceptions will not print out the stack trace. For debug purpose, you can force a stack trace. For instance, if you want a stack trace for an "unknown element" error, you must add this line in your script: Config::Model::Exception::UnknownElement->Trace(1) ; If you're not sure which class to trace, add this line in your script: Config::Model::Exception::Any->Trace(1) ; AUTHOR
Dominique Dumont, (ddumont at cpan dot org) SEE ALSO
Config::Model, Config::Model::Instance, Config::Model::Node, Config::Model::Value Exception::Class perl v5.14.2 2012-11-09 Config::Model::Exception(3pm)