| 1 | package Catalyst::Helper::View::CSV; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | our $VERSION = "1.8"; | ||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | Catalyst::Helper::View::CSV - Helper for CSV views | ||
| 11 | |||
| 12 | =head1 SYNOPSIS | ||
| 13 | |||
| 14 | script/create.pl view CSV CSV | ||
| 15 | |||
| 16 | =head1 DESCRIPTION | ||
| 17 | |||
| 18 | Helper for CSV views. | ||
| 19 | |||
| 20 | =head2 METHODS | ||
| 21 | |||
| 22 | =head3 mk_compclass | ||
| 23 | |||
| 24 | =cut | ||
| 25 | |||
| 26 | sub mk_compclass { | ||
| 27 | ( my $self, my $helper ) = @_; | ||
| 28 | |||
| 29 | my $file = $helper->{file}; | ||
| 30 | $helper->render_file ( "compclass", $file ); | ||
| 31 | } | ||
| 32 | |||
| 33 | =head1 SEE ALSO | ||
| 34 | |||
| 35 | L<Catalyst::View::CSV>, L<Catalyst::Manual>, L<Catalyst::Helper> | ||
| 36 | |||
| 37 | =cut | ||
| 38 | |||
| 39 | 1; | ||
| 40 | |||
| 41 | __DATA__ |