Perinci-CmdLine-Lite
view release on metacpan or search on metacpan
lib/Perinci/CmdLine/Base.pm view on Meta::CPAN
{filename => 'myapp1.conf'}, # section = GLOBAL (default)
]
This means, configuration will be searched in C<mysuite.conf> under the section
C<myapp1>, and then in C<myapp1.conf> in the default/global section.
=head2 config_dirs => array of str
Which directories to look for configuration file. The default is to look at the
user's home and then system location. On Unix, it's C<< [ "$ENV{HOME}/.config",
$ENV{HOME}, "/etc"] >>. If $ENV{HOME} is empty, getpwuid() is used to get home
directory entry.
=head2 cleanser => obj
Object to cleanse result for JSON output. By default this is an instance of
L<Data::Clean::ForJSON> and should not be set to other value in most cases.
=head2 use_cleanser => bool (default: 1)
When a function returns result, and the user wants to display the result as
( run in 0.379 second using v1.01-cache-2.11-cpan-8d75d55dd25 )