bump version to 0.44
[catagits/Catalyst-View-TT.git] / lib / Catalyst / Helper / View / TT.pm
index d5ee3d0..ecaa472 100644 (file)
@@ -2,13 +2,16 @@ package Catalyst::Helper::View::TT;
 
 use strict;
 
+our $VERSION = '0.44';
+$VERSION = eval $VERSION;
+
 =head1 NAME
 
 Catalyst::Helper::View::TT - Helper for TT Views
 
 =head1 SYNOPSIS
 
-    script/create.pl view TT TT
+    script/create.pl view HTML TT
 
 =head1 DESCRIPTION
 
@@ -49,13 +52,15 @@ __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');
+__PACKAGE__->config(
+    TEMPLATE_EXTENSION => '.tt',
+    render_die => 1,
+);
 
 =head1 NAME
 
@@ -63,7 +68,7 @@ __PACKAGE__->config(TEMPLATE_EXTENSION => '.tt');
 
 =head1 DESCRIPTION
 
-TT View for [% app %]. 
+TT View for [% app %].
 
 =head1 SEE ALSO
 
@@ -75,7 +80,7 @@ L<[% app %]>
 
 =head1 LICENSE
 
-This library is free software, you can redistribute it and/or modify
+This library is free software. You can redistribute it and/or modify
 it under the same terms as Perl itself.
 
 =cut