| Catalyst-View-TT documentation | Contained in the Catalyst-View-TT distribution. |
Catalyst::Helper::View::TT - Helper for TT Views
script/create.pl view HTML TT
Helper for TT Views.
Sebastian Riedel, sri@oook.de
Marcus Ramberg, mramberg@cpan.org
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
[% class %] - TT View for [% app %]
TT View for [% app %].
[% author %]
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
| Catalyst-View-TT documentation | Contained in the Catalyst-View-TT distribution. |
package Catalyst::Helper::View::TT; use strict;
sub mk_compclass { my ( $self, $helper ) = @_; my $file = $helper->{file}; $helper->render_file( 'compclass', $file ); }
1; __DATA__ __compclass__ package [% class %]; use strict; use warnings; use base 'Catalyst::View::TT'; __PACKAGE__->config( TEMPLATE_EXTENSION => '.tt', render_die => 1, );
1;