Skip Menu |
 

This queue is for tickets about the Module-Build CPAN distribution.

Report information
The Basics
Id: 51117
Status: resolved
Priority: 0/
Queue: Module-Build

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

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: 0.36



Subject: PATCH: Find Abstract and Author Despite Header Case
Date: Wed, 4 Nov 2009 19:41:46 -0800
To: bug-module-build [...] rt.cpan.org
From: "David E. Wheeler" <dwheeler [...] cpan.org>
Download (untitled) / with headers
text/plain 1011b
I'd like for Module::Build to be able to find author and abstract info in the POD whether I spell the headers =head1 NAME =head1 AUTHOR Or =head1 Name =head1 Author Currently, only the uppercase versions are allowed. The attached patch modifies Module::Build::PodParser to allow both. I tried to get this change in years ago, but I think I'll have better luck this time. Really, POD should not require that `=head1` text be all uppercase; that should be a decided by a POD formatter. As for prior art, search.cpan.org doesn't care about the case of these headers. That not caring became permanent thanks to a patch from Graham adding the "nocase" param to Pod::Simple (released in 3.09). I'm really tired of having special POD comments in my modules to trick Module::Build into finding this information even though I use mixed case headers. Please consider adding this patch to the next release of Module::Build so that I don't have to anymore. Thanks, David
Download pod_case.patch
text/x-diff 1.7k

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 127b
Annoyance noted. I'll see what I can do. :-) I'll probably be doing several rounds of work on Module::Build during November.
Thanks. Patch applied to trunk.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.