New upstream version 1.294
Axel Beckert
3 years ago
0 | 0 | Revision history for Perl module ConfigReader::Simple |
1 | ||
2 | 1.294 2021-01-15T07:52:01Z | |
3 | * freshen distro, remove Travis CI, add Github Actions | |
4 | * fix problem with blank line ending processing (Github #2, Axel Beckert) | |
1 | 5 | |
2 | 6 | 1.293 2018-04-26T16:17:17Z |
3 | 7 | * Clarify that it's Artistic License 2.0 |
64 | 64 | |
65 | 65 | ConfigReader-Simple-* |
66 | 66 | \.svncover_db |
67 | \bMANIFEST\s\d | |
68 | \bChanges\s\d | |
69 | \.icloud$ | |
70 | \A\.github\b | |
71 |
3 | 3 | "brian d foy <bdfoy@cpan.org>" |
4 | 4 | ], |
5 | 5 | "dynamic_config" : 1, |
6 | "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010", | |
6 | "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010", | |
7 | 7 | "keywords" : [ |
8 | 8 | "config" |
9 | 9 | ], |
12 | 12 | ], |
13 | 13 | "meta-spec" : { |
14 | 14 | "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", |
15 | "version" : "2" | |
15 | "version" : 2 | |
16 | 16 | }, |
17 | 17 | "name" : "ConfigReader-Simple", |
18 | 18 | "no_index" : { |
46 | 46 | }, |
47 | 47 | "test" : { |
48 | 48 | "requires" : { |
49 | "Test::More" : "0.94", | |
49 | "Test::More" : "1", | |
50 | 50 | "Test::Output" : "0", |
51 | 51 | "Test::Warn" : "0" |
52 | 52 | } |
64 | 64 | "web" : "https://github.com/briandfoy/ConfigReader-Simple" |
65 | 65 | } |
66 | 66 | }, |
67 | "version" : "1.293", | |
68 | "x_serialization_backend" : "JSON::PP version 2.27400_02" | |
67 | "version" : "1.294", | |
68 | "x_serialization_backend" : "JSON::PP version 4.02" | |
69 | 69 | } |
2 | 2 | author: |
3 | 3 | - 'brian d foy <bdfoy@cpan.org>' |
4 | 4 | build_requires: |
5 | Test::More: '0.94' | |
5 | Test::More: '1' | |
6 | 6 | Test::Output: '0' |
7 | 7 | Test::Warn: '0' |
8 | 8 | configure_requires: |
9 | 9 | ExtUtils::MakeMaker: '6.64' |
10 | 10 | File::Spec::Functions: '0' |
11 | 11 | dynamic_config: 1 |
12 | generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version 2.150010' | |
12 | generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010' | |
13 | 13 | keywords: |
14 | 14 | - config |
15 | 15 | license: artistic_2 |
35 | 35 | bugtracker: https://github.com/briandfoy/ConfigReader-Simple/issues |
36 | 36 | homepage: https://github.com/briandfoy/ConfigReader-Simple |
37 | 37 | repository: https://github.com/briandfoy/ConfigReader-Simple.git |
38 | version: '1.293' | |
38 | version: '1.294' | |
39 | 39 | x_serialization_backend: 'CPAN::Meta::YAML version 0.018' |
48 | 48 | 'NAME' => $module, |
49 | 49 | 'VERSION_FROM' => $main_file, |
50 | 50 | 'ABSTRACT_FROM' => $main_file, |
51 | 'LICENSE' => 'artistic2', | |
51 | 'LICENSE' => 'artistic_2', | |
52 | 52 | 'AUTHOR' => 'brian d foy <bdfoy@cpan.org>', |
53 | 53 | |
54 | 54 | 'CONFIGURE_REQUIRES' => { |
60 | 60 | }, |
61 | 61 | |
62 | 62 | 'TEST_REQUIRES' => { |
63 | 'Test::More' => '0.94', | |
63 | 'Test::More' => '1', | |
64 | 64 | 'Test::Warn' => '0', |
65 | 65 | 'Test::Output' => '0', |
66 | 66 | }, |
1 | 1 | |
2 | 2 | =encoding utf8 |
3 | 3 | |
4 | =for HTML <a href="https://travis-ci.org/briandfoy/ConfigReader-Simple"><img src="https://travis-ci.org/briandfoy/ConfigReader-Simple.svg?branch=master" /></a> | |
4 | =for HTML <a href="../../actions?query=workflow%3Amacos"><img src="../../workflows/macos/badge.svg"></a> | |
5 | ||
6 | =for HTML <a href="../../actions?query=workflow%3Aubuntu"><img src="../../workflows/ubuntu/badge.svg"></a> | |
7 | ||
8 | =for HTML <a href="../../actions?query=workflow%3Awindows"><img src="../../workflows/windows/badge.svg"></a> | |
5 | 9 | |
6 | 10 | =for HTML <a href='https://ci.appveyor.com/project/briandfoy/ConfigReader-Simple'><img src='https://ci.appveyor.com/api/projects/status/j1f3xhrl7jko6wti?svg=true' /></a> |
7 | 11 | |
9 | 13 | |
10 | 14 | =for HTML <a href="https://github.com/briandfoy/ConfigReader-Simple/blob/master/LICENSE"><img src="https://img.shields.io/cpan/l/ConfigReader-Simple.svg" /></a> |
11 | 15 | |
12 | =for HTML <a href="http://www.metacpan.org/module/ConfigReader::Simple"><img src="https://img.shields.io/cpan/v/ConfigReader-Simple.svg" /></A> | |
16 | =for HTML <a href="https://metacpan.org/pod/ConfigReader::Simple"><img src="https://img.shields.io/cpan/v/ConfigReader-Simple.svg" /></A> | |
13 | 17 | |
14 | 18 | =head1 The ConfigReader::Simple module |
15 | 19 | |
22 | 26 | |
23 | 27 | To read about L<ConfigReader::Simple>, look at the embedded documentation |
24 | 28 | in the module itself. Inside the distribution, you can format it |
25 | with L<perldoc|http://perldoc.perl.org/perldoc.html>: | |
29 | with L<perldoc|https://perldoc.perl.orgperldoc.html>: | |
26 | 30 | |
27 | 31 | % perldoc lib/ConfigReader/Simple.pm |
28 | 32 | |
31 | 35 | |
32 | 36 | % perldoc ConfigReader::Simple |
33 | 37 | |
34 | You can read the documentation and inspect the meta data on one of the | |
35 | CPAN web interfaces, such as L<CPAN Search|http://search.cpan.org/dist/ConfigReader-Simple> or | |
36 | L<MetaCPAN|http://www.metacpan.org/module/ConfigReader::Simple>: | |
37 | ||
38 | =over 4 | |
39 | ||
40 | =item * L<http://search.cpan.org/dist/ConfigReader-Simple> | |
41 | ||
42 | =item * L<http://www.metacpan.org/module/ConfigReader::Simple> | |
43 | ||
44 | =back | |
38 | You can read the documentation and inspect the meta data at | |
39 | L<MetaCPAN|https://metacpan.org/pod/ConfigReader::Simple>. | |
45 | 40 | |
46 | 41 | The standard module documentation has example uses in the SYNOPSIS |
47 | 42 | section, but you can also look in the I<examples/> directory (if it's |
106 | 101 | you diagnose your problem. |
107 | 102 | |
108 | 103 | You might like to read L<brian's Guide to Solving Any Perl |
109 | Problem|http://archive.oreilly.com/pub/a/perl/excerpts/9780596527242/brians-guide.html>. | |
104 | Problem|https://briandfoy.github.io/brians-guide-to-solving-any-perl-problem/>. | |
110 | 105 | |
111 | 106 | =head2 Copyright and License |
112 | 107 |
8 | 8 | use Carp qw(croak carp); |
9 | 9 | |
10 | 10 | $ERROR = ''; |
11 | $VERSION = '1.293'; | |
11 | $VERSION = '1.294'; | |
12 | 12 | $Warn = 0; |
13 | 13 | $Die = ''; |
14 | 14 | |
130 | 130 | from \ |
131 | 131 | Peru |
132 | 132 | |
133 | If a line is only whitespace, or the first whitespace character is | |
133 | If a line is only whitespace, or the first non-whitespace character is | |
134 | 134 | a #, the Perl comment character, C<ConfigReader::Simple> ignores the |
135 | 135 | line unless it is the continuation of the previous line. |
136 | 136 | |
399 | 399 | chomp( @lines ); |
400 | 400 | # carp "A: Found " . @lines . " lines" if $DEBUG; |
401 | 401 | |
402 | while( my $line = shift @lines ) { | |
402 | while( defined( my $line = shift @lines )) { | |
403 | 403 | # carp "1: Line is $line" if $DEBUG; |
404 | 404 | |
405 | 405 | CONT: { |
794 | 794 | |
795 | 795 | =head1 COPYRIGHT AND LICENSE |
796 | 796 | |
797 | Copyright © 2002-2018, brian d foy <bdfoy@cpan.org>. All rights reserved. | |
797 | Copyright © 2002-2021, brian d foy <bdfoy@cpan.org>. All rights reserved. | |
798 | 798 | |
799 | 799 | This program is free software; you can redistribute it and/or modify |
800 | 800 | it under the Artistic License 2.0. |