Config::Generator::Util - miscellaneous utilities for Config::Generator
This module provides miscellaneous utilities for Config::Generator.
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 the Config::General manpage's list
representation
This module provides the following constants (none of them being exported by
default) with obvious values: KB, MB and GB.
Lionel Cons http://cern.ch/lionel.cons
Copyright (C) CERN 2013-2016
|