Subject: | Some guts functions in ::Plugin::Template do not take options |
...and they really should for consistencies sake and for subclassing.
Here is a patch.
Subject: | Module-Starter.diff |
--- /usr/share/perl5/Module/Starter/Plugin/Template.pm 2007-11-09 18:35:20.000000000 -0500
+++ /usr/share/perl5/Module/Starter/Plugin/Template.pm.new 2008-03-19 19:27:36.000000000 -0400
@@ -170,9 +170,10 @@
sub Changes_guts {
my $self = shift;
+ my %options;
my $template = $self->{templates}{'Changes'};
- $self->render($template);
+ $self->render($template, \%options);
}
=item README_guts
@@ -226,9 +227,10 @@
sub cvsignore_guts {
my $self = shift;
+ my %options;
my $template = $self->{templates}{cvsignore};
- $self->render($template);
+ $self->render($template, \%options);
}
=back