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> |
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
Message body is not shown because sender requested not to inline it.