Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Module-Starter CPAN distribution.

Report information
The Basics
Id: 16738
Status: resolved
Priority: 0/
Queue: Module-Starter

People
Owner: Nobody in particular
Requestors: EWILHELM [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.42
Fixed in: (no value)



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); }