Subject: | EU:MM handling of ABSTRACT_FROM doesn't handle pod formatting codes |
When building File::Remove (version 0.25) from CPAN, I get the error
$ perl Makefile.PL
Checking if your kit is complete...
Looks good
WARNING: Setting ABSTRACT via file 'lib/File/Remove.pm' failed
at /usr/local/lib/perl5/5.9.2/ExtUtils/MakeMaker.pm line 611
when creating the ppd section.
The pod documenation for EU::MM reports
ABSTRACT_FROM
Name of the file that contains the package description.
MakeMaker looks for a line in the POD matching
/^($package\s-\s)(.*)/. This is typically the first line
in the "=head1 NAME" section. $2 becomes the abstract.
If the following is valid, then we should parse it correctly
B<File::Remove> - Remove files and directories
If not, it would be helpful if the error message directed the reader
to the pod documention prescribing the limited fixed format for
the abstract.
(By the way, I didn't find any other abstract that had B<> or any
other formatting codes in the NAME section)