File tree 4 files changed +7
-53
lines changed 4 files changed +7
-53
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,6 @@ requires 'Plack::Middleware::ServerStatus::Lite';
144
144
requires ' Plack::Middleware::Session' ;
145
145
requires ' Plack::Session::Store' ;
146
146
requires ' Pod::Markdown' , ' 3.300' ;
147
- requires ' Pod::POM' ;
148
147
requires ' Pod::Simple' , ' 3.43' ;
149
148
requires ' Pod::Simple::XHTML' , ' 3.24' ;
150
149
requires ' Pod::Text' , ' 4.14' ;
Original file line number Diff line number Diff line change @@ -6781,49 +6781,6 @@ DISTRIBUTIONS
6781
6781
perl 5.008
6782
6782
strict 0
6783
6783
warnings 0
6784
- Pod-POM-2.01
6785
- pathname: N/NE/NEILB/Pod-POM-2.01.tar.gz
6786
- provides:
6787
- Pod::POM 2.01
6788
- Pod::POM::Constants 2.01
6789
- Pod::POM::Node 2.01
6790
- Pod::POM::Node::Begin 2.01
6791
- Pod::POM::Node::Code 2.01
6792
- Pod::POM::Node::Content 2.01
6793
- Pod::POM::Node::For 2.01
6794
- Pod::POM::Node::Head1 2.01
6795
- Pod::POM::Node::Head2 2.01
6796
- Pod::POM::Node::Head3 2.01
6797
- Pod::POM::Node::Head4 2.01
6798
- Pod::POM::Node::Item 2.01
6799
- Pod::POM::Node::Over 2.01
6800
- Pod::POM::Node::Pod 2.01
6801
- Pod::POM::Node::Sequence 2.01
6802
- Pod::POM::Node::Text 2.01
6803
- Pod::POM::Node::Verbatim 2.01
6804
- Pod::POM::Nodes 2.01
6805
- Pod::POM::Test 2.01
6806
- Pod::POM::View 2.01
6807
- Pod::POM::View::HTML 2.01
6808
- Pod::POM::View::Pod 2.01
6809
- Pod::POM::View::Text 2.01
6810
- requirements:
6811
- Encode 0
6812
- Exporter 0
6813
- ExtUtils::MakeMaker 0
6814
- File::Basename 0
6815
- FindBin 0
6816
- Getopt::Long 0
6817
- Getopt::Std 0
6818
- Text::Wrap 0
6819
- constant 0
6820
- lib 0
6821
- overload 0
6822
- parent 0
6823
- perl 5.006
6824
- strict 0
6825
- vars 0
6826
- warnings 0
6827
6784
Pod-Parser-1.67
6828
6785
pathname: M/MA/MAREKR/Pod-Parser-1.67.tar.gz
6829
6786
provides:
Original file line number Diff line number Diff line change @@ -5,9 +5,8 @@ use MetaCPAN::Moose;
5
5
use MetaCPAN::Pod::XHTML;
6
6
use MetaCPAN::Types::TypeTiny qw( Uri ) ;
7
7
use Pod::Markdown;
8
- use Pod::POM ();
9
- use Pod::POM::View::Pod;
10
- use Pod::Text ();
8
+ use Pod::Simple::JustPod ();
9
+ use Pod::Text ();
11
10
12
11
has perldoc_url_prefix => (
13
12
is => ' ro' ,
@@ -34,7 +33,7 @@ sub markdown_renderer {
34
33
35
34
sub pod_renderer {
36
35
my $self = shift ;
37
- return Pod::POM -> new;
36
+ return Pod::Simple::JustPod -> new;
38
37
}
39
38
40
39
sub text_renderer {
@@ -83,9 +82,7 @@ sub to_pod {
83
82
my $self = shift ;
84
83
my $source = shift ;
85
84
86
- my $renderer = $self -> pod_renderer;
87
- my $pom = $renderer -> parse_text($source );
88
- return Pod::POM::View::Pod-> print ($pom );
85
+ return $self -> _generic_render( $self -> pod_renderer, $source );
89
86
}
90
87
91
88
sub _generic_render {
Original file line number Diff line number Diff line change 51
51
52
52
{
53
53
my $pod = <<'EOF' ;
54
+ =pod
55
+
54
56
=head1 DESCRIPTION
55
57
L<Plack>
56
- =cut
57
-
58
58
59
+ =cut
59
60
EOF
60
61
61
62
is( $factory -> to_pod($source ), $pod , ' pod' );
You can’t perform that action at this time.
0 commit comments