This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #92436] Filter::Simple can’t find end of POD
authorFather Chrysostomos <sprout@cpan.org>
Sat, 10 Sep 2011 06:21:48 +0000 (23:21 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 10 Sep 2011 06:21:48 +0000 (23:21 -0700)
commit0b2be16900832ccd9de494ff538bf070d8623089
treea637520af287379ec1cb4aba95bec823d6f3fbf3
parente001c7126641d25781fc1e649e4b35356a346586
[perl #92436] Filter::Simple can’t find end of POD

Filter::Simple’s $pod_or_DATA regexp was mistakenly written to look
for =end if the pod section began with =begin, and to look for the
end of the paragraph if the pod began with =for.  Only =cut and EOF
can end pod.

This patch does not fix Filter::Simple’s naïve way of finding the
beginning of pod.
dist/Filter-Simple/lib/Filter/Simple.pm
dist/Filter-Simple/t/filter_only.t
dist/Filter-Simple/t/lib/Filter/Simple/FilterOnlyTest.pm
pod/perldelta.pod