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.
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
AUTHOR
Sebastien Aperghis-Tramoni