- or download this
OO style
-------------------------------------------------------
...
my $config = Config::Loader->new('/path/to/config');
@hosts = $config->('db.hosts.session');
-------------------------------------------------------
- or download this
Functional style (auto generates your own config class)
...
@hosts = C('db.hosts.sesssion');
-------------------------------------------------------
- or download this
OO style
-------------------------------------------------------
...
@cloned_hosts = $config->clone('db.hosts.session'); # deep clones
+the data
-------------------------------------------------------
- or download this
Functional style
-------------------------------------------------------
...
@cloned_hosts = My::Config::clone('db.hosts.session'); # deep cl
+ones the data
$config = My::Config::object; # returns
+ the stored config object
-------------------------------------------------------
- or download this
$config->C('db.hosts.session');
$config->('db.hosts.session');