projects
/
catagits/Catalyst-View-TT.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
use Moose in generated code
[catagits/Catalyst-View-TT.git]
/
lib
/
Catalyst
/
Helper
/
View
/
TT.pm
diff --git
a/lib/Catalyst/Helper/View/TT.pm
b/lib/Catalyst/Helper/View/TT.pm
index
9364a3e
..
ae95736
100644
(file)
--- a/
lib/Catalyst/Helper/View/TT.pm
+++ b/
lib/Catalyst/Helper/View/TT.pm
@@
-49,11
+49,10
@@
__DATA__
__compclass__
package [% class %];
+use Moose;
+use namespace::autoclean;
-use strict;
-use warnings;
-
-use base 'Catalyst::View::TT';
+extends 'Catalyst::View::TT';
__PACKAGE__->config(
TEMPLATE_EXTENSION => '.tt',