25 Jan 2005 00:50:26 UTC
- Distribution: Template-Plugin-Comma
- Module version: 0.04
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (895 / 1 / 1)
- KwaliteeBus factor: 1
- 90.00% Coverage
- License: unknown
- Activity24 month
- Download (2.23KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:2 non-PAUSE usersMIYAGAWA Tatsuhiko Miyagawa
Template::Plugin::Comma - TT Plugin to commify numbers
[% USE Comma %] [% FILTER comma -%] This item costs 10000 dollar. [%- END %] # Output: # This item costs 10,000 dollar. This item costs [% item.price | comma %] dollar. # Output: # This item costs 10,000 dollar.
Template::Plugin::Comma is a plugin for TT, which allows you to commify your numbers in templates. This would be especially useful for prices.
This module does nothing for I18N. If you want it, try Template::Plugin::Number::Format.
Original idea by Yoshiki Kurihara <email@example.com>
TT plugin implemented by Tatsuhiko Miyagawa <firstname.lastname@example.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Template::Plugin::Comma, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Template::Plugin::Comma
For more information on module installation, please visit the detailed CPAN module installation guide.