NAME
Config::Generator::Util - miscellaneous utilities for Config::Generator
DESCRIPTION
This module provides miscellaneous utilities for Config::Generator.
FUNCTIONS
This module provides the following functions (none of them being exported by default):
- format_profile(NAME => VALUE, ...)
-
return a string representing the given shell profile (i.e. key/value pairs); this is useful to create a configuration file with shell syntax; the key can also be "#" to represent a comment
- list_of(SOMETHING)
-
return a list of things depending on what has been given (undef, an array reference or a scalar); this is very useful with Config::General's list representation
CONSTANTS
This module provides the following constants (none of them being exported by default) with obvious values: KB
, MB
and GB
.
AUTHOR
Lionel Cons http://cern.ch/lionel.cons
Copyright (C) CERN 2013-2016