root => '$base/root',
);
+$name->setup;
+
sub default : Private {
my ( \$self, \$c ) = \@_;
\$c->res->output('Congratulations, $name is on Catalyst!');
WriteMakefile(
NAME => '$name',
VERSION_FROM => 'lib/$class.pm',
- PREREQ_PM => { Catalyst => 0 },
+ PREREQ_PM => { Catalyst => 5 },
test => { TESTS => join ' ', ( glob('t/*.t'), glob('t/*/*.t') ) }
);
EOF
my ( \$self, \$c ) = \@_;
\$c->res->output('Congratulations, $class is on Catalyst!');
}
-
EOF
my $file = $self->{file};
return $self->mk_file( "$file", <<"EOF");