Subject: | Re: Copyright Notice is Always "Same as Perl" even if a different license was chosen |
see: https://rt.cpan.org/NoAuth/Bug.html?id=12443 (closest I can get to re-opening it.)
The same problem appears when using Module::Starter::Plugin::TT2 because Module::Starter::Template never made the license_blurb value available for rendering.
The example template: Module.pm should also be changed to read: [%license_blurb%]
Index: lib/Module/Starter/Plugin/Template.pm
===================================================================
--- lib/Module/Starter/Plugin/Template.pm (revision 662)
+++ lib/Module/Starter/Plugin/Template.pm (working copy)
@@ -120,6 +120,7 @@
my %options;
@options{qw(module rtname)} = @_;
+ $options{license_blurb} = $self->_license_blurb();
my $template = $self->{templates}{'Module.pm'};
$self->render($template, \%options);
}