Skip Menu |

This queue is for tickets about the Pod-POM CPAN distribution.

Report information
The Basics
Id: 16764
Status: resolved
Priority: 0/
Queue: Pod-POM

People
Owner: ANDREWF [...] cpan.org
Requestors: jj [...] jonallen.info
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.17
Fixed in: (no value)



Subject: Problem handling paragraph separators - incompatibility with perlpodspec
Hi, Pod::POM 0.17 does not accept blank lines containing whitespace as paragraph separators, it only accepts blank lines containing no characters at all. According to perlpodspec, blank lines containing whitespace should be taken as paragraph separators. For an example, compare the output of converting 'perlform.pod' to text using pod2text and pom2 text. To fix this, replace line 176 of POM.pm while ($text =~ /(?:(.*?)(\n{2,}))|(.+$)/sg) { with while ($text =~ /(?:(.*?)((?:\s*\n){2,}))|(.+$)/sg) { Cheers, JJ -- JJ <jj@jonallen.info> http://perl.jonallen.info :: http://perldoc.perl.org
Subject: Re: [cpan #16764] Problem handling paragraph separators - incompatibility with perlpodspec
Date: Fri, 27 Jan 2006 17:52:52 +0000
To: Guest via RT <bug-Pod-POM [...] rt.cpan.org>
From: Andy Wardley <abw [...] wardley.org>
Thanks for the patch, this is now fixed in the forthcoming v0.18 Cheers A
Patch was applied in Pod::POM 0.18.