1Config::Generator::UtilU(s3e)r Contributed Perl DocumentaCtoinofnig::Generator::Util(3)
2
3
4
6 Config::Generator::Util - miscellaneous utilities for Config::Generator
7
9 This module provides miscellaneous utilities for Config::Generator.
10
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
26 This module provides the following constants (none of them being
27 exported by default) with obvious values: "KB", "MB" and "GB".
28
30 Lionel Cons <http://cern.ch/lionel.cons>
31
32 Copyright (C) CERN 2013-2016
33
34
35
36perl v5.32.0 2020-07-28 Config::Generator::Util(3)