cpan2ebook icon indicating copy to clipboard operation
cpan2ebook copied to clipboard

Complains about unknown =begin sections

Open kentfredric opened this issue 11 years ago • 1 comments

I get this message emitted with https://metacpan.org/source/KENTNL/Dist-Zilla-PluginBundle-Author-KENTNL-2.020001/lib/Dist/Zilla/PluginBundle/Author/KENTNL.pm#L908

POD ERRORS 
Hey! The above document had some coding errors, which are explained below: 
Around line 253: 
'=end MetaPOD::JSON v1.1.0' is invalid. (Stack: =begin MetaPOD::JSON) 

Its not actually invalid, that is the proper way to declare data sections in POD that are specific to only certain backends.

If you don't know what an =begin FOO is, then it should parse up to the subsequent =end FOO and ignore the hunk.

kentfredric avatar Sep 16 '14 13:09 kentfredric

Thanks for your report. On my dev machine Pod can be rendered to EPub, but on the live system it doesn't. The versions of Pod::Simple::XHTML are the same.

I'll check the issue next week.

reneeb avatar Sep 17 '14 10:09 reneeb