• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Template/Plugin/H25-Jan-2005-7421

t/H25-Jan-2005-10084

ChangesH A D25-Jan-2005530 1813

MANIFESTH A D25-Jan-2005193 98

META.ymlH A D25-Jan-2005406 1311

Makefile.PLH A D01-Aug-2002232 109

READMEH A D26-Jul-2002821 3422

README

1NAME
2    Template::Plugin::Comma - TT Plugin to commify numbers
3
4SYNOPSIS
5      [% USE Comma %]
6
7      [% FILTER comma -%]
8      This item costs 10000 dollar.
9      [%- END %]
10
11      # Output:
12      # This item costs 10,000 dollar.
13
14      This item costs [% item.price | comma %] dollar.
15
16      # Output:
17      # This item costs 10,000 dollar.
18
19DESCRIPTION
20    Template::Plugin::Comma is a plugin for TT, which allows you to commify
21    your numbers in templates. This would be especially useful for prices.
22
23AUTHOR
24    Original idea by Yoshiki Kurihara <kurihara@cpan.org>
25
26    TT plugin implemented by Tatsuhiko Miyagawa <miyagawa@bulknews.net>
27
28    This library is free software; you can redistribute it and/or modify it
29    under the same terms as Perl itself.
30
31SEE ALSO
32    the Template manpage, "perldoc -q comma"
33
34