Codebase list libpod-parser-perl / 2645ee4
New upstream version 1.65 gregor herrmann 1 year, 11 months ago
13 changed file(s) with 168 addition(s) and 99 deletion(s). Raw diff Collapse all Expand all
11
22 Before using this for any _new_ software, please consider using Pod::Simple,
33 it is a modern replacement for this module.
4
5 21-May-2022 Marek Rouchal <marekr@cpan.org>
6 -----------------------------------------------------------------------------
7 Version 1.65
8 + fix CPAN#124881 - warning from Pod::PlainText
9 + fix CPAN#125860 - fix version where Pod::Parser was removed from core
10
11
12 21-May-2022 Marek Rouchal <marekr@cpan.org>
13 -----------------------------------------------------------------------------
14 Version 1.64
15 + fix CPAN#112113: link to Pod::Simple not working
16
417
518 10-Feb-2015 Marek Rouchal <marekr@cpan.org>
619 -----------------------------------------------------------------------------
0 ANNOUNCE -- announcement of end of support for this package
1 CHANGES -- Change history
2 README -- Main information file
3 MANIFEST -- This shipping list
4 TODO -- Tentative "to do" list for future development
5 Makefile.PL -- Perl Makefile template
6
7 lib/Pod/InputObjects.pm -- Input objects for Pod::Parser
8 lib/Pod/Parser.pm -- The Pod::Parser module source
9 lib/Pod/ParseUtils.pm -- The Pod::ParseUtils module source
10 lib/Pod/Select.pm -- The Pod::Select module source
11 lib/Pod/PlainText.pm -- The Pod::PlainText module source
12 lib/Pod/Find.pm -- The Pod::Find module source
13
14 scripts/podselect.PL -- Script to print selected sections of pod docs in raw
15 pod format (a command-line interface to podselect()).
16
17 t/pod/testcmp.pl -- module used to compare output against expected results
18 t/pod/testp2pt.pl -- module used to test Pod::PlainText for a given file
19 t/pod/testpchk.pl -- module used to test Pod::Checker for a given file
20 t/pod/empty.xr -- expected result for selfcheck (empty file)
21 t/pod/emptycmd.t -- test-input file for an empty pod directive
22 t/pod/emptycmd.xr -- expected result from processing emptycmd.t
23 t/pod/contains_pod.t -- test for Pod::Find::contains_pod
24 t/pod/contains_pod.xr -- test file
25 t/pod/find.t -- test for Pod::Find
26 t/pod/for.t -- test-input file for =for directives
27 t/pod/for.xr -- expected result from processing for.t
28 t/pod/headings.t -- test-input file for =head directives
29 t/pod/headings.xr -- expected result from processing headings.t
30 t/pod/include.t -- test-input file for an =included file
31 t/pod/include.xr -- expected result from processing include.t
32 t/pod/included.t -- test-input file for =including another file
33 t/pod/included.xr -- expected result from processing included.t
34 t/pod/lref.t -- test-input file for L<...> sequences
35 t/pod/lref.xr -- expected result from processing lref.t
36 t/pod/multiline_items.t -- test-input file for multiline =items
37 t/pod/multiline_items.xr -- expected result from processing multiline_items.t
38 t/pod/nested_items.t -- test-input file for nested =items
39 t/pod/nested_items.xr -- expected result from processing nested_items.t
40 t/pod/nested_seqs.t -- test-input file for nested interior sequences
41 t/pod/nested_seqs.xr -- expected result from processing nested_seqs.t
42 t/pod/oneline_cmds.t -- test-input file for ==cmds
43 t/pod/oneline_cmds.xr -- expected result from processing oneline_cmds.t
44 t/pod/podselect.t -- test input file for processing podselect.PL
45 t/pod/podselect.xr -- expected result from processing podselect.PL
46 t/pod/selfcheck.t -- run our own POD through podchecker
47 t/pod/special_seqs.t -- test-input file for "special" interior sequences
48 t/pod/special_seqs.xr -- expected result from processing special_seqs.t
49 t/pod/twice.t -- make sure Pod::Parser is re-entrant
50 t/pod/testpods/lib/Pod/Stuff.pm -- test POD for t/pod/find.t
51 t/pod/contains_bad_pod.xr -- expected results
52
53 META.yml Module meta-data (added by MakeMaker)
0 ANNOUNCE -- announcement of end of support for this package
1 CHANGES -- Change history
2 README -- Main information file
3 MANIFEST -- This shipping list
4 TODO -- Tentative "to do" list for future development
5 Makefile.PL -- Perl Makefile template
6
7 lib/Pod/InputObjects.pm -- Input objects for Pod::Parser
8 lib/Pod/Parser.pm -- The Pod::Parser module source
9 lib/Pod/ParseUtils.pm -- The Pod::ParseUtils module source
10 lib/Pod/Select.pm -- The Pod::Select module source
11 lib/Pod/PlainText.pm -- The Pod::PlainText module source
12 lib/Pod/Find.pm -- The Pod::Find module source
13
14 scripts/podselect.PL -- Script to print selected sections of pod docs in raw
15 pod format (a command-line interface to podselect()).
16
17 t/pod/testcmp.pl -- module used to compare output against expected results
18 t/pod/testp2pt.pl -- module used to test Pod::PlainText for a given file
19 t/pod/testpchk.pl -- module used to test Pod::Checker for a given file
20 t/pod/empty.xr -- expected result for selfcheck (empty file)
21 t/pod/emptycmd.t -- test-input file for an empty pod directive
22 t/pod/emptycmd.xr -- expected result from processing emptycmd.t
23 t/pod/contains_pod.t -- test for Pod::Find::contains_pod
24 t/pod/contains_pod.xr -- test file
25 t/pod/find.t -- test for Pod::Find
26 t/pod/for.t -- test-input file for =for directives
27 t/pod/for.xr -- expected result from processing for.t
28 t/pod/headings.t -- test-input file for =head directives
29 t/pod/headings.xr -- expected result from processing headings.t
30 t/pod/include.t -- test-input file for an =included file
31 t/pod/include.xr -- expected result from processing include.t
32 t/pod/included.t -- test-input file for =including another file
33 t/pod/included.xr -- expected result from processing included.t
34 t/pod/lref.t -- test-input file for L<...> sequences
35 t/pod/lref.xr -- expected result from processing lref.t
36 t/pod/multiline_items.t -- test-input file for multiline =items
37 t/pod/multiline_items.xr -- expected result from processing multiline_items.t
38 t/pod/nested_items.t -- test-input file for nested =items
39 t/pod/nested_items.xr -- expected result from processing nested_items.t
40 t/pod/nested_seqs.t -- test-input file for nested interior sequences
41 t/pod/nested_seqs.xr -- expected result from processing nested_seqs.t
42 t/pod/oneline_cmds.t -- test-input file for ==cmds
43 t/pod/oneline_cmds.xr -- expected result from processing oneline_cmds.t
44 t/pod/podselect.t -- test input file for processing podselect.PL
45 t/pod/podselect.xr -- expected result from processing podselect.PL
46 t/pod/selfcheck.t -- run our own POD through podchecker
47 t/pod/special_seqs.t -- test-input file for "special" interior sequences
48 t/pod/special_seqs.xr -- expected result from processing special_seqs.t
49 t/pod/twice.t -- make sure Pod::Parser is re-entrant
50 t/pod/testpods/lib/Pod/Stuff.pm -- test POD for t/pod/find.t
51 t/pod/contains_bad_pod.xr -- expected results
52
53 META.yml Module meta-data (added by MakeMaker)
54 META.json Module JSON meta-data (added by MakeMaker)
0 {
1 "abstract" : "Modules for parsing/translating POD format documents",
2 "author" : [
3 "Brad Appleton <bradapp@enteract.com>, Marek Rouchal <marekr@cpan.org>"
4 ],
5 "dynamic_config" : 1,
6 "generated_by" : "ExtUtils::MakeMaker version 7.46, CPAN::Meta::Converter version 2.150010",
7 "license" : [
8 "unknown"
9 ],
10 "meta-spec" : {
11 "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
12 "version" : "2"
13 },
14 "name" : "Pod-Parser",
15 "no_index" : {
16 "directory" : [
17 "t",
18 "inc"
19 ]
20 },
21 "prereqs" : {
22 "build" : {
23 "requires" : {
24 "ExtUtils::MakeMaker" : "0"
25 }
26 },
27 "configure" : {
28 "requires" : {
29 "ExtUtils::MakeMaker" : "0"
30 }
31 },
32 "runtime" : {
33 "requires" : {
34 "Cwd" : "0",
35 "File::Basename" : "0",
36 "Test::More" : "0.6"
37 }
38 }
39 },
40 "release_status" : "stable",
41 "version" : "1.65",
42 "x_serialization_backend" : "JSON::PP version 2.27400_02"
43 }
0 --- #YAML:1.0
1 name: Pod-Parser
2 version: 1.63
3 abstract: Modules for parsing/translating POD format documents
0 ---
1 abstract: 'Modules for parsing/translating POD format documents'
42 author:
5 - Brad Appleton <bradapp@enteract.com>, Marek Rouchal <marekr@cpan.org>
6 license: unknown
7 distribution_type: module
3 - 'Brad Appleton <bradapp@enteract.com>, Marek Rouchal <marekr@cpan.org>'
4 build_requires:
5 ExtUtils::MakeMaker: '0'
86 configure_requires:
9 ExtUtils::MakeMaker: 0
10 build_requires:
11 ExtUtils::MakeMaker: 0
7 ExtUtils::MakeMaker: '0'
8 dynamic_config: 1
9 generated_by: 'ExtUtils::MakeMaker version 7.46, CPAN::Meta::Converter version 2.150010'
10 license: unknown
11 meta-spec:
12 url: http://module-build.sourceforge.net/META-spec-v1.4.html
13 version: '1.4'
14 name: Pod-Parser
15 no_index:
16 directory:
17 - t
18 - inc
1219 requires:
13 Cwd: 0
14 File::Basename: 0
15 Test::More: 0.6
16 no_index:
17 directory:
18 - t
19 - inc
20 generated_by: ExtUtils::MakeMaker version 6.57_05
21 meta-spec:
22 url: http://module-build.sourceforge.net/META-spec-v1.4.html
23 version: 1.4
20 Cwd: '0'
21 File::Basename: '0'
22 Test::More: '0.6'
23 version: '1.65'
24 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
6868 WriteMakefile(
6969 NAME => $DISTMOD,
7070 DISTNAME => $DISTNAME,
71 VERSION => '1.63',
71 VERSION => '1.65',
7272 INSTALLDIRS => ($] >= 5.006 ? 'perl' : 'site'),
7373 PL_FILES => { map { (script("$_.PL") => script($_)) } @SCRIPTS },
7474 EXE_FILES => [ @EXE_FILES ],
1313 use strict;
1414
1515 use vars qw($VERSION);
16 $VERSION = '1.63'; ## Current version of this package
16 $VERSION = '1.65'; ## Current version of this package
1717 require 5.005; ## requires this Perl version or later
1818 use Carp;
1919
4444
4545 =head1 DESCRIPTION
4646
47 B<NOTE: This module is considered legacy; modern Perl releases (5.18 and
48 higher) are going to remove Pod-Parser from core and use L<Pod-Simple>
47 B<NOTE: This module is considered legacy; modern Perl releases (5.31.1 and
48 higher) are going to remove Pod-Parser from core and use L<Pod::Simple>
4949 for all things POD.>
5050
5151 B<Pod::Find> provides a set of functions to locate POD files. Note that
1111 use strict;
1212
1313 use vars qw($VERSION);
14 $VERSION = '1.63'; ## Current version of this package
14 $VERSION = '1.65'; ## Current version of this package
1515 require 5.005; ## requires this Perl version or later
1616
1717 #############################################################################
3434
3535 =head1 DESCRIPTION
3636
37 B<NOTE: This module is considered legacy; modern Perl releases (5.18 and
38 higher) are going to remove Pod-Parser from core and use L<Pod-Simple>
37 B<NOTE: This module is considered legacy; modern Perl releases (5.31.1 and
38 higher) are going to remove Pod-Parser from core and use L<Pod::Simple>
3939 for all things POD.>
4040
4141 This module defines some basic input objects used by B<Pod::Parser> when
1010 use strict;
1111
1212 use vars qw($VERSION);
13 $VERSION = '1.63'; ## Current version of this package
13 $VERSION = '1.65'; ## Current version of this package
1414 require 5.005; ## requires this Perl version or later
1515
1616 =head1 NAME
2626
2727 =head1 DESCRIPTION
2828
29 B<NOTE: This module is considered legacy; modern Perl releases (5.18 and
30 higher) are going to remove Pod-Parser from core and use L<Pod-Simple>
29 B<NOTE: This module is considered legacy; modern Perl releases (5.31.1 and
30 higher) are going to remove Pod-Parser from core and use L<Pod::Simple>
3131 for all things POD.>
3232
3333 B<Pod::ParseUtils> contains a few object-oriented helper packages for
1111
1212 ## These "variables" are used as local "glob aliases" for performance
1313 use vars qw($VERSION @ISA %myData %myOpts @input_stack);
14 $VERSION = '1.63'; ## Current version of this package
14 $VERSION = '1.65'; ## Current version of this package
1515 require 5.005; ## requires this Perl version or later
1616
1717 #############################################################################
8080
8181 =head1 DESCRIPTION
8282
83 B<NOTE: This module is considered legacy; modern Perl releases (5.18 and
84 higher) are going to remove Pod-Parser from core and use L<Pod-Simple>
83 B<NOTE: This module is considered legacy; modern Perl releases (5.31.1 and
84 higher) are going to remove Pod-Parser from core and use L<Pod::Simple>
8585 for all things POD.>
8686
8787 B<Pod::Parser> is a base class for creating POD filters and translators.
491491 $output =~ s/[\r\n]*$/\n/;
492492 $self->output ($output);
493493 $$self{MARGIN} = $margin;
494 $self->output ($self->reformat ($_)) if /\S/;
494 $self->output ($self->reformat ($_)) if defined && /\S/;
495495 } else {
496496 $_ = $self->reformat ($_);
497497 s/^ /:/ if ($$self{alt} && $indent > 0);
620620
621621 =head1 DESCRIPTION
622622
623 B<NOTE: This module is considered legacy; modern Perl releases (5.18 and
624 higher) are going to remove Pod-Parser from core and use L<Pod-Simple>
623 B<NOTE: This module is considered legacy; modern Perl releases (5.31.1 and
624 higher) are going to remove Pod-Parser from core and use L<Pod::Simple>
625625 for all things POD.>
626626
627627 Pod::PlainText is a module that can convert documentation in the POD format (the
1010 use strict;
1111
1212 use vars qw($VERSION @ISA @EXPORT $MAX_HEADING_LEVEL %myData @section_headings @selected_sections);
13 $VERSION = '1.63'; ## Current version of this package
13 $VERSION = '1.65'; ## Current version of this package
1414 require 5.005; ## requires this Perl version or later
1515
1616 #############################################################################
7070
7171 =head1 DESCRIPTION
7272
73 B<NOTE: This module is considered legacy; modern Perl releases (5.18 and
74 higher) are going to remove Pod-Parser from core and use L<Pod-Simple>
73 B<NOTE: This module is considered legacy; modern Perl releases (5.31.1 and
74 higher) are going to remove Pod-Parser from core and use L<Pod::Simple>
7575 for all things POD.>
7676
7777 B<podselect()> is a function which will extract specified sections of
2525 a
2626 test.
2727
28 =item Example with only verbatim content
29
30 {
31 "json": "stuff"
32 }
33
2834 =back
2935
3036 =cut
0 Test multiline item lists
1 This is a test to ensure that multiline =item paragraphs get indented
2 appropriately.
0 Test multiline item lists
1 This is a test to ensure that multiline =item paragraphs get indented
2 appropriately.
3
4 This is a test.
5 Example with only verbatim content
6 {
7 "json": "stuff"
8 }
39
4 This is a test.
5