RackMan::Config - Module to handle RackMan configuration
use RackMan::Config;
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.
set_current_rackobject()
The configuration file can contain placeholders within the values, interpolated upon val() call with the corresponding values from the current RackObject.
val()
name of the RackObject, or "unknown" if it is undefined
"unknown"
Most of the methods from Config::IniFiles can be used on the object, with the same arguments.
Create and return a new object. Accept the same parameters than Config::IniFile->new()
Config::IniFile->new()
Defines the current RackObject (a RackMan::Device instance), parses and associates the corresponding rack.local.conf, if any
Clear the current RackObject
Config::IniFiles
Sebastien Aperghis-Tramoni
To install RackMan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RackMan
CPAN shell
perl -MCPAN -e shell install RackMan
For more information on module installation, please visit the detailed CPAN module installation guide.