![]() |
![]()
| ![]() |
![]()
NAMETemplate::Plugin::CSV - Plugin for generating CSV SYNOPSIS[% USE CSV %] [% CSV.dump(list_var) %] [% CSV.dump_values(hash_var) %] DESCRIPTIONThis is a very simple TT2 Plugin for generating CSV. A CSV object will be instantiated via the following directive: [% USE CSV %] METHODSThere are two methods supported by the CSV object. Each will output a comma-sepeated line. dump()Given a list and dump a comma-sepearted line of its elements. dump_values()Given a hash and dump a comma-sepearte lines of its values. new()A Template::Plugin constructor. AUTHORKang-min Liu <gugod@gugod.org> COPYRIGHTCopyright (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. SEE ALSOTemplate::Plugin::Dumper, Text::CSV
|