The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RackMan::Config - Module to handle RackMan configuration

SYNOPSIS

    use RackMan::Config;

DESCRIPTION

This module mostly is a proxy to Config::IniFiles, with the added feature that it can interpolate some parameters with values from the current RackObject (as set with set_current_rackobject()). See "INTERPOLATED PARAMETERS" for more details.

INTERPOLATED PARAMETERS

The configuration file can contain placeholders within the values, interpolated upon val() call with the corresponding values from the current RackObject.

%name%

name of the RackObject, or "unknown" if it is undefined

METHODS

Most of the methods from Config::IniFiles can be used on the object, with the same arguments.

new

Create and return a new object. Accept the same parameters than Config::IniFile->new()

set_current_rackobject

Defines the current RackObject (a RackMan::Device instance), parses and associates the corresponding rack.local.conf, if any

clear_current_rackobject

Clear the current RackObject

SEE ALSO

Config::IniFiles

AUTHOR

Sebastien Aperghis-Tramoni