Class::Usul::Config::Programs - Additional configuration attributes for CLI programs
package Class::Usul::Programs; use Moo; extends q(Class::Usul); has '+config_class' => default => q(Class::Usul::Config::Programs);
Additional configuration attributes for CLI programs
Defines the following list of attributes
cache_ttys
Boolean defaults to true. Passed to the Proc::ProcessTable constructor
doc_title
String defaults to 'User Contributed Documentation'. Used in the Unix man pages
man_page_cmd
Array ref containing the command and options to produce a man page. Defaults to man -nroff
man -nroff
my_home
A directory object reference which defaults to the users home
os
A hash reference loaded from from a file selected by OS name. The file is named like os_linux.json and can be found in the configuration ctrldir
ctrldir
owner
String. Name of the application file owner
pwidth
Integer. Number of characters used to justify command line prompts
script
String. The basename of the pathname attribute
pathname
umask
Octal number defaults to the constant UMASK. The default file creation mask
UMASK
None
There are no known incompatibilities in this module
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Larry Wall - For the Perl programming language
Peter Flanigan, <pjfl@cpan.org>
<pjfl@cpan.org>
Copyright (c) 2018 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
To install Class::Usul, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::Usul
CPAN shell
perl -MCPAN -e shell install Class::Usul
For more information on module installation, please visit the detailed CPAN module installation guide.