Sledge::View::CSVSledge::View::CSV - Sledge::Pages::Base compatible view. | |
Download |
Sledge::View::CSV Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Tokuhiro Matsuno
- Publisher web site:
- http://search.cpan.org/~tokuhirom/Sledge-View-0.08/lib/Sledge/View/CSV.pm
Sledge::View::CSV Tags
Sledge::View::CSV Description
Sledge::View::CSV - Sledge::Pages::Base compatible view. Sledge::View::CSV - Sledge::Pages::Base compatible view.SYNOPSIS package Your::Pages; use Sledge::Plugin::View; sub dispatch_foo { my $self = shift; $self->stash->{rows} = , ]; Sledge::View::CSV->new( $self )->process; } # output is... a,b c,dMETHODSnew Sledge::View::CSV->new($page);generate new instance.The argument is instance of Sledge::Pages::Base.processSet the contents and headers to $self->response.renderrendering the csv.CONFIGURATION $self->stash->{csv_option} = {sep_char => "t"};You can set the argument of Text::CSV_XS->new; Requirements: · Perl
Sledge::View::CSV Related Software