added my email to the author list.
[catagits/Catalyst-View-TT.git] / lib / Catalyst / Helper / View / TT.pm
CommitLineData
8077080c 1package Catalyst::Helper::View::TT;
2
3use strict;
8077080c 4
5=head1 NAME
6
7Catalyst::Helper::View::TT - Helper for TT Views
8
9=head1 SYNOPSIS
10
11 bin/create view TT TT
12
13=head1 DESCRIPTION
14
15Helper for TT Views.
16
17=head2 METHODS
18
19=head3 mk_compclass
20
21=cut
22
23sub mk_compclass {
24 my ( $self, $helper ) = @_;
25 my $file = $helper->{file};
26 my $class = $helper->{class};
6bf01217 27 $helper->mk_file( $file, <<"EOF");
8077080c 28package $class;
29
30use strict;
31use base 'Catalyst::View::TT';
32
33=head1 NAME
34
35$class - TT View Component
36
37=head1 SYNOPSIS
38
39 Very simple to use
40
41=head1 DESCRIPTION
42
43Very nice component.
44
45=head1 AUTHOR
46
47Clever guy
48
49=head1 LICENSE
50
51This library is free software . You can redistribute it and/or modify it under
52the same terms as perl itself.
53
54=cut
55
561;
57EOF
58}
59
60=head1 SEE ALSO
61
62L<Catalyst::Manual>, L<Catalyst::Test>, L<Catalyst::Request>,
63L<Catalyst::Response>, L<Catalyst::Helper>
64
65=head1 AUTHOR
66
67Sebastian Riedel, C<sri@oook.de>
68
69=head1 LICENSE
70
71This library is free software . You can redistribute it and/or modify it under
72the same terms as perl itself.
73
74=cut
75
761;