Template::Plugin::CSV - Plugin for generating CSV
[% USE CSV %] [% CSV.dump(list_var) %] [% CSV.dump_values(hash_var) %]
This is a very simple TT2 Plugin for generating CSV. A CSV object will be instantiated via the following directive:
[% USE CSV %]
There are two methods supported by the CSV object. Each will output a comma-sepeated line.
Given a list and dump a comma-sepearted line of its elements.
Given a hash and dump a comma-sepearte lines of its values.
A Template::Plugin constructor.
Kang-min Liu <gugod@gugod.org>
Copyright (C) 2005 Kang-min Liu, All Rights Reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Template::Plugin::Dumper, Text::CSV
To install Template::Plugin::CSV, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::CSV
CPAN shell
perl -MCPAN -e shell install Template::Plugin::CSV
For more information on module installation, please visit the detailed CPAN module installation guide.