Skip Menu |

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

Report information
The Basics
Id: 19137
Status: rejected
Priority: 0/
Queue: Pod-Parser

People
Owner: Nobody in particular
Requestors: GLEACH [...] cpan.org
Cc: geoff [...] hughes.net
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.32
Fixed in: (no value)



CC: geoff [...] hughes.net
Subject: The first POD command is missed
If the first POD entry is not preceded by a blank line, for example: __END__ =head1 NAME it's missed. I believe that this is contrary to the definition in perlpodspec: Pod content is contained in Pod blocks. A Pod block starts with a line that matches <m/\A=[a-zA-Z]/>, and continues up to the next line that matches m/\A=cut/ -- or up to the end of the file, if there is no m/\A=cut/ line.
Subject: Print.pm
package Gnome2::Print; __END__ =head1 NAME Gnome2::Print - Perl wrappers for the Gnome Print utilities. =head1 SYNOPSIS use Gnome2::Print; use something =head1 ABSTRACT Perl bindings to the 2.2 series of the Gnome Print libraries, for use with gtk2-perl. =cut
RT-Send-CC: sburke [...] cpan.org
On So. 07. Mai 2006, 19:59:42, GLEACH wrote: Show quoted text
> If the first POD entry is not preceded by a blank line, for example: > __END__ > =head1 NAME > it's missed. I believe that this is contrary to the definition in > perlpodspec: > Pod content is contained in Pod blocks. A Pod block starts with a line > that matches <m/\A=[a-zA-Z]/>, and continues up to the next line that > matches m/\A=cut/ -- or up to the end of the file, if there is no > m/\A=cut/ line.
On the other hand, __END__ is not an empty line, and perlpodspec specifies that a POD command must be on a new paragraph, which requires a preceding blank line. Nothing to be fixed here. -Marek