1Config::Generator::UtilU(s3e)r Contributed Perl DocumentaCtoinofnig::Generator::Util(3)
2
3
4

NAME

6       Config::Generator::Util - miscellaneous utilities for Config::Generator
7

DESCRIPTION

9       This module provides miscellaneous utilities for Config::Generator.
10

FUNCTIONS

12       This module provides the following functions (none of them being
13       exported by default):
14
15       format_profile(NAME => VALUE, ...)
16           return a string representing the given shell profile (i.e.
17           key/value pairs); this is useful to create a configuration file
18           with shell syntax; the key can also be "#" to represent a comment
19
20       list_of(SOMETHING)
21           return a list of things depending on what has been given (undef, an
22           array reference or a scalar); this is very useful with
23           Config::General's list representation
24

CONSTANTS

26       This module provides the following constants (none of them being
27       exported by default) with obvious values: "KB", "MB" and "GB".
28

AUTHOR

30       Lionel Cons <http://cern.ch/lionel.cons>
31
32       Copyright (C) CERN 2013-2016
33
34
35
36perl v5.34.0                      2022-01-21        Config::Generator::Util(3)
Impressum