rjbs / Pod-Weaver

recombine pod documents into awesomer pod documents
26 stars 28 forks source link

Extra line of POD for LICENSE file fulltext #2

Closed apocalypse closed 13 years ago

apocalypse commented 13 years ago

Hello,

While browsing some POD, I noticed that they contained this line:

The full text of the license can be found in the LICENSE file included with this distribution.

I thought this was a cool idea, and this patch adds it if a zilla object is provided and it contains a LICENSE file in it.

Thanks!

rjbs commented 13 years ago

Pod::Weaver should not ever be aware of a zilla input. The singular case where it does this is a mistake, and should be corrected. Adding more cases is a bad idea. Instead, the section should have some kind of "mention_license_file" option, which [PodWeaver] could set to true if it has a LICENSE file in the zilla.