ManaTools::ConfigDirRole

Section: User Contributed Perl Documentation (3)
Updated: 2017-07-06
Page Index
 

NAME

    Manatools::ConfigDirRole - Role to manage configuration directory

 

SYNOPSIS

    package Foo;

    use Moose;

    has 'configDir' => (
        ...
    );

    has 'configName' => (
        ...
    );
    with 'Manatools::ConfigDirRole';

    1;

 

DESCRIPTION

    ConfigDirRole just define a role in which the config dir is defined in a single point
    for all the module that uses it.

 

SUPPORT

    You can find documentation for this module with the perldoc command:

    perldoc Manatools::ConfigDirRole

 

SEE ALSO

 

AUTHOR

Angelo Naselli <anaselli@linux.it>  

COPYRIGHT and LICENSE

Copyright (C) 2015-2016, Angelo Naselli.

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  

requires

definitions

        configDir:          a root directory for configuration, e.g. a path
        configName:         a name under configDir in which to find configuration file

 

configPathName

INPUT

    $self: this object

DESCRIPTION

    return the path name, e.g. configDir/configName


 

Index

NAME
SYNOPSIS
DESCRIPTION
SUPPORT
SEE ALSO
AUTHOR
COPYRIGHT and LICENSE
requires
configPathName
LinuxReviews : manual page archive : man3pm