| 1 | package Catalyst::Helper::View::ByCode; | ||
| 2 | $Catalyst::Helper::View::ByCode::VERSION = '0.28'; | ||
| 3 | use strict; | ||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | Catalyst::Helper::View::ByCode - Helper for ByCode Views | ||
| 8 | |||
| 9 | =head1 VERSION | ||
| 10 | |||
| 11 | version 0.28 | ||
| 12 | |||
| 13 | =head1 SYNOPSIS | ||
| 14 | |||
| 15 | script/create.pl view ByCode ByCode | ||
| 16 | |||
| 17 | =head1 DESCRIPTION | ||
| 18 | |||
| 19 | Helper for ByCode Views. | ||
| 20 | |||
| 21 | =head2 METHODS | ||
| 22 | |||
| 23 | =head3 mk_compclass | ||
| 24 | |||
| 25 | =cut | ||
| 26 | |||
| 27 | sub mk_compclass { | ||
| 28 | my ( $self, $helper ) = @_; | ||
| 29 | my $file = $helper->{file}; | ||
| 30 | $helper->render_file( 'compclass', $file ); | ||
| 31 | } | ||
| 32 | |||
| 33 | =head1 SEE ALSO | ||
| 34 | |||
| 35 | L<Catalyst::Manual>, L<Catalyst::Helper> | ||
| 36 | |||
| 37 | =head1 AUTHOR | ||
| 38 | |||
| 39 | Wolfgang Kinkeldei, E<lt>wolfgang@kinkeldei.deE<gt> | ||
| 40 | |||
| 41 | =head1 LICENSE | ||
| 42 | |||
| 43 | This library is free software. You can redistribute it and/or modify | ||
| 44 | it under the same terms as perl itself. | ||
| 45 | |||
| 46 | =cut | ||
| 47 | |||
| 48 | 1; | ||
| 49 | |||
| 50 | __DATA__ |