/usr/share/perl5/Config/Model/models/Itself/ConfigRead.pod is in libconfig-model-itself-perl 2.006-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | # PODNAME: Config::Model::models::Itself::ConfigRead
# ABSTRACT: Configuration class Itself::ConfigRead
=encoding utf8
=head1 NAME
Config::Model::models::Itself::ConfigRead - Configuration class Itself::ConfigRead
=head1 DESCRIPTION
Configuration classes used by L<Config::Model>
=head1 Elements
=head2 syntax
Deprecated parameter that specified the file syntax to store permanently configuration data. Replaced by "backend" B<Deprecated> I<< Optional. Type enum. choice: 'cds', 'perl', 'ini', 'custom'. >>
=head2 backend
specifies the backend to store permanently configuration data. I<< Optional. Type enum. choice: 'cds_file', 'perl_file', 'custom'. >>
Here are some explanations on the possible values:
=over
=item 'IniFile'
Ini file format. Beware that the structure of your model must match the limitations of the INI file format, i.e only a 2 levels hierarchy. Configuration filename is made with instance name
=item 'cds_file'
file with config data string. This is Config::Model own serialisation format, designed to be compact and readable. Configuration filename is made with instance name
=item 'custom'
Custom format. You must specify your own class and method to perform the read or write function. See Config::Model::AutoRead doc for more details
=item 'perl_file'
file with a perl data structure. Configuration filename is made with instance name
=back
Note: backend is migrated with 'C<$old>' and with $old => "C<- syntax>"
=head2 config_dir
I<< Optional. Type uniline. >>
=head2 os_config_dir - configuration file directory for specific OS
Specify and alternate location of a configuration directory depending on the OS (as returned by C<$^O> or C<$Config{'osname'}>, see L<perlport/PLATFORMS>) Common values for C<$^O> are 'linux', 'MSWin32', 'darwin' I<< Optional. Type hash of uniline. >>
=head2 file - target configuration file name
specify the configuration file name. This parameter may not be applicable depending on your application. It may also be hardcoded in a custom backend. If not specified, the instance name will be used as base name for your configuration file. I<< Optional. Type uniline. >>
=head2 default_layer - How to find default values in a global config file
Specifies where to find a global configuration file that specifies default values. For instance, this is used by OpenSSH to specify a global configuration file (C</etc/ssh/ssh_config>) that is overridden by user's file. I<< Optional. Type node of class L<Itself::ConfigWR::DefaultLayer|Config::Model::models::Itself::ConfigWR::DefaultLayer> . >>
=head2 class
I<< Optional. Type uniline. >>
=head2 store_class_in_hash
Specify element hash name that will contain all INI classes. See L<Config::Model::Backend::IniFile/"Arbitrary class name"> I<< Optional. Type uniline. >>
=head2 section_map
Specify element name that will contain one INI class. E.g. to store INI class [foo] in element Foo, specify { foo => "Foo" } I<< Optional. Type hash of uniline. >>
=head2 split_list_value
Regexp to split the value read from ini file. Usually "\s+" or "[,\s]" I<< Optional. Type uniline. >>
=head2 split_check_list_value
Regexp to split the value read from ini file. Usually "\s+" or "[,\s]" I<< Optional. Type uniline. >>
=head2 join_list_value
string to join list values before writing the entry in ini file. Usually " " or ", " I<< Optional. Type uniline. >>
=head2 join_check_list_value
string to join checked items names before writing the entry in the ini file. Usually " " or ", " I<< Optional. Type uniline. >>
=head2 write_boolean_as
Specify how to write a boolean value in config file. Suggested values are "no","yes". I<< Optional. Type list of uniline. >>
=head2 force_lc_section
force section to be lowercase. I<< Optional. Type boolean. upstream_default: '0'. >>
=head2 force_lc_key
force key names to be lowercase. I<< Optional. Type boolean. upstream_default: '0'. >>
=head2 force_lc_value
force values to be lowercase. I<< Optional. Type boolean. upstream_default: '0'. >>
=head2 full_dump
Also dump default values in the data structure. Useful if the dumped configuration data will be used by the application. (default is yes) I<< Optional. Type boolean. upstream_default: '1'. >>
=head2 comment_delimiter
comment starts with this character. I<< Optional. Type uniline. upstream_default: '#'. >>
=head2 auto_delete - Delete empty configuration file
Delete configuration files when no information is left in there. This may happen when data is removed by user. This is mostly useful when the configuration of an application is made of several files. I<< Optional. Type boolean. upstream_default: '0'. >>
=head2 function
I<< Optional. Type uniline. >>
=head2 auto_create - Creates configuration files as needed
I<< Optional. Type boolean. upstream_default: '0'. >>
Note: auto_create is migrated with 'C<$old>' and with $old => "C<- allow_empty>"
=head2 allow_empty - deprecated in favor of auto_create
B<Deprecated> I<< Optional. Type boolean. upstream_default: '0'. >>
=head1 SEE ALSO
=over
=item *
L<cme>
=item *
L<Config::Model::models::Itself::ConfigWR::DefaultLayer>
=back
=cut
|