• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Config/H12-Feb-2021-733233

t/H12-Feb-2021-370277

ChangesH A D12-Feb-2021413 2013

LICENSEH A D22-Aug-201934.3 KiB675553

MANIFESTH A D12-Feb-2021469 2524

MANIFEST.SKIPH A D22-Aug-2019598 4336

META.jsonH A D12-Feb-20211.6 KiB6867

META.ymlH A D12-Feb-2021911 3837

Makefile.PLH A D12-Feb-20211.1 KiB3835

READMEH A D22-Aug-20191.5 KiB5639

README

1Config::Parser and Config::Parser::Ini
2======================================
3
4Config::Parser provides a framework for writing configuration file
5parsers.  It is an intermediate layer between the abstract syntax tree
6(Config::AST) and implementation of a parser for a particular
7configuration file format.
8
9Config::Parser::Ini is a configuration file parser for ini-style files.
10
11EXAMPLE
12
13  use Config::Parser::Ini;
14  # Parse the configuration
15  my $cf = new Config::Parser::Ini(filename => "config.ini");
16  # Access a configuration setting
17  print $cf->get('core', 'root');
18
19  __DATA__
20  # Declare valid keywords:
21  [core]
22     root = STRING :default /
23     umask = OCTAL
24  [user]
25     uid = NUMBER
26     gid = NUMBER
27
28INSTALLATION
29
30To install this module type the following:
31
32   perl Makefile.PL
33   make
34   make test
35   make install
36
37COPYRIGHT AND LICENCE
38
39Copyright (C) 2018-2019 by Sergey Poznyakoff
40
41This library is free software; you can redistribute it and/or modify it
42under the terms of the GNU General Public License as published by the
43Free Software Foundation; either version 3 of the License, or (at your
44option) any later version.
45
46It is distributed in the hope that it will be useful,
47but WITHOUT ANY WARRANTY; without even the implied warranty of
48MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
49GNU General Public License for more details.
50
51You should have received a copy of the GNU General Public License along
52with this library. If not, see <http://www.gnu.org/licenses/>.
53
54
55
56