Manatools::ConfigDirRole - Role to manage configuration directory
package Foo;
use Moose;
has 'configDir' => (
...
);
has 'configName' => (
...
);
with 'Manatools::ConfigDirRole';
1;
ConfigDirRole just define a role in which the config dir is defined in a single point
for all the module that uses it.
You can find documentation for this module with the perldoc command:
perldoc Manatools::ConfigDirRole
This module is free software. You can redistribute it and/or modify it under the terms of the Artistic License 2.0.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose
configDir: a root directory for configuration, e.g. a path
configName: a name under configDir in which to find configuration file
$self: this object
DESCRIPTION
return the path name, e.g. configDir/configName