perl-Config-Objective-0.5-alt1.noarch.rpm


Advertisement

Description

perl-Config-Objective - Perl module for parsing object-oriented config files

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Config-Objective
Package version 0.5
Package release alt1
Package architecture noarch
Package type rpm
Installed size 42.29 KB
Download size 42.29 KB
Official Mirror ftp.altlinux.org
The Config::Objective module provides a mechanism for parsing
config files to manipulate configuration data.  Unlike most other
config file modules, which represent config data as simple variables,
Config::Objective represents config data as perl objects.  This allows
for a much more flexible configuration language, since new classes can
be easily written to add methods to the config syntax.
The Config::Objective class supports the following methods:
=over 4
=item new()
The constructor.  The first argument is the filename of the config file
to parse.  The second argument is a reference to a hash that maps names
to configuration objects.
The remaining arguments are interpretted as a hash of attributes for
the object.  Currently, the only supported attribute is *include_dir*,
which specifies the directory to search for include files (see the File Inclusion entry elsewhere in this document).  If not specified, *include_dir* defaults to ".".
=item *object_name*
Once the constructor parses the config file, you can call the get()
method of any of the objects by using the object name as an autoloaded
method (see the Recommended Methods entry elsewhere in this document).
=item get_obj()
Returns a reference to the object of the specified object name.  The
object name is the first argument.
=item obj_names()
Returns a list of known object names.
=item get_hash()
Returns a hash where the keys are the known object names and the values
are the result of calling the get() method on the corresponding object.
=back

Alternatives

Package Version Architecture Repository
perl-Config-Objective - - -

Requires

Name Value
/usr/share/perl5 -
perl(Parse/Lex.pm) >= 2.150
perl(Parse/Yapp/Driver.pm) >= 1.050
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Config/Objective.pm) = 0.500
perl(Config/Objective/DataType.pm) -
perl(Config/Objective/Parser.pm) -
perl-Config-Objective = 0.5-alt1

Download

Type URL
Binary Package perl-Config-Objective-0.5-alt1.noarch.rpm
Source Package perl-Config-Objective-0.5-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Config-Objective rpm package:
    # sudo apt-get install perl-Config-Objective

Files

Path
/usr/share/doc/perl-Config-Objective-0.5/COPYRIGHT
/usr/share/doc/perl-Config-Objective-0.5/ChangeLog
/usr/share/doc/perl-Config-Objective-0.5/README
/usr/share/doc/perl-Config-Objective-0.5/TODO
/usr/share/perl5/Config/Objective.pm
/usr/share/perl5/Config/Objective/DataType.pm
/usr/share/perl5/Config/Objective/Parser.pm

See Also

Package Description
perl-Config-Onion-1.007-alt1.noarch.rpm Layered configuration, because configs are like ogres
perl-Config-OpenSSH-Authkey-1.06-alt1.noarch.rpm interface to OpenSSH authorized_keys data
perl-Config-Options-0.08-alt1.noarch.rpm module to provide a configuration hash with option to read from file
perl-Config-PFiles-Path-0.03-alt1.noarch.rpm manipulate PFILES path for IRAF Compatible parameter files
perl-Config-PL-0.02-alt1.noarch.rpm Using '.pl' file as a configuration
perl-Config-PP-0.04-alt1.noarch.rpm lightweight configuration file manager that uses Pure Perl to serialize
perl-Config-PackageGlobal-OO-0.02-alt1.noarch.rpm A generic configuration object for modules with package global configuration
perl-Config-Param-3.002000-alt1.noarch.rpm all you want to do with parameters for your program (or someone else's)
perl-Config-Param-scripts-3.002000-alt1.noarch.rpm Config-Param scripts
perl-Config-Patch-0.09-alt1.noarch.rpm Patch configuration files and unpatch them later
perl-Config-Patch-scripts-0.09-alt1.noarch.rpm Config-Patch scripts
perl-Config-Path-0.13-alt2_7.noarch.rpm Path-like config API with multiple file support, directory
perl-Config-Perl-0.06-alt1.noarch.rpm Perl extension to parse configuration files written in a subset of Perl and (limited) undumping of
perl-Config-Pg-ServiceFile-0.02-alt1.noarch.rpm PostgreSQL connection service file parser
perl-Config-Pit-0.04-alt1.noarch.rpm Manage settings
Advertisement
Advertisement