Perl Diver 2.31
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Config::Generator::Util

Name Config::Generator::Util
Version 1.1
Located at /usr/share/perl5/vendor_perl
File /usr/share/perl5/vendor_perl/Config/Generator/Util.pm
Is Core No
Search CPAN for this module Config::Generator::Util
Documentation Config::Generator::Util
Module Details Config::Generator::Util

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 the Config::General manpage'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

Perl Diver brought to you by ScriptSolutions.com © 1997- 2025