While converter filled you in on the basics of the warning, there is no need to mess around with pod, although some would disagree, you can simply modify Makefile.PL. what h2xs -AX initially spits out is something like:
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'Foo::Bar::Baz',
'VERSION_FROM' => 'Baz.pm', # finds $VERSION
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'Baz.pm', # retrieve abstract from module
AUTHOR => 'A. U. Thor <a.u.thor@a.galaxy.far.far.away>') :
+()),
);
Just remove the ABSTRACT_FROM line, or cut off the _FROM part, and let 'Baz.pm' be the abstract.
You definetly ought to give the ExtUtils::MakeMaker pod a look see, as well as take a closer look at Makefile.PL and the actual makefile that gets generated. I had lots of fun reading those when I was writing Pod::Stripper, or should I say, when I was writing the Pod::Stripper "distribution". Concidentally, the Pod::Stripper abstract is (in pod form):
=head1 NAME
Pod::Stripper - strip all pod, and output what's left
It's just a convention that most folk use Mod::Name - abstract here ... but since of the advent of ABSTRACT_FROM, I doubt anyone will change (I plan on staying lazy on that part).
Ok, enough shameless plugs. On a final note, I, and him, bot suggest you give perlmod and perlmodlib a few reads whilst devouring all the Make(file|Maker) stuff.
| [reply] [d/l] [select] |
ABSTRACT_FROM
Name of the file that contains the package description. MakeM
+aker looks for a line in the POD matching /^($package\s-\s)(.*)/. Th
+is is typically the first line in the "=head1 NAME" section. $2 becom
+es the abstract.
MakeMaker wants to use the NAME section of your module's POD to generate an abstract. Visit the perlpod page for more information on POD.
| [reply] [d/l] |
Remove the spaces from in front of the module name in the NAME section.
e.g. WRONG:
=head1 NAME
App::Btree - Native perl implimentation of Btree structure
Right:-
=head1 NAME
App::Btree - Native perl implimentation of Btree structure
| [reply] [d/l] [select] |