Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 51633
Status: resolved
Priority: 0/
Queue: Pod-Weaver

People
Owner: Nobody in particular
Requestors: sharyanto [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 3.093001
  • 3.093130
Fixed in: (no value)



Subject: do not require package declaration for .pod files
(I'm using Pod::Weaver through DZP::PodWeaver, so am not sure whether to submit bug here or there. I'll pick the first.) .pod files usually do not contain package declaration (and many other stuffs that a normal .pm has). PodWeaver currently insists that there is a package declaration, also complains about not finding abstract.
On Tue Nov 17 22:02:46 2009, SHARYANTO wrote: Show quoted text
> .pod files usually do not contain package declaration (and many other > stuffs that a normal .pm has). PodWeaver currently insists that there > is a package declaration, also complains about not finding abstract.
PW also fails when processing Perl programs/scripts for the same reason - no package declaration. Seems it might be more beneficial to have the Dist::Zilla plugin avoid certain files entirely, like *.pod and anything in bin/ (or whatever else is identified by the ExecDir plugin).
A "PODNAME" comment, like the "ABSTRACT" comment can now be given instead of a Perl package declaration. -- rjbs