Helper/View/CSV.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
mk_compclass
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
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__