tokuhirom / Minilla

Authorizing tool for CPAN modules
https://metacpan.org/release/Minilla
Other
98 stars 65 forks source link

META.yml author information can get misread from POD #240

Closed jmacdotorg closed 6 years ago

jmacdotorg commented 6 years ago

I have a module that offers an object method author(), so its POD has a section that looks like this:

=head3 author

 $author = $wm->author;

Method description goes here, blah blah blah...

As a result of this, the following ends up in the distribution's META.yml file:

   "author" : [
      "$author = $wm->author;"
   ],

Minilla (or something Minilla uses) seems a bit too lax with POD-parsing here. Perhaps it should extract meaning only from =head1 AUTHOR, and not any heading named "author" with any casing?

skaji commented 6 years ago

Should be fixed in https://metacpan.org/release/SKAJI/Minilla-v3.0.18