So did you provide for localization?

- nick

~~~~~~~~~~~~~~~~~~~~   
Nick Tonkin   {|8^)>


On Fri, 26 Jul 2002, Tatsuhiko Miyagawa wrote:

> I've just released a new TT filter Template::Plugin::Comma, which
> commifies numbers in templates. This will especially be useful in
> e-commerce or statistics website.
> 
> 
> The URL
> 
>     http://bulknews.net/lib/archives/Template-Plugin-Comma-0.01.tar.gz
> 
> has entered CPAN as
> 
>   file: $CPAN/authors/id/M/MI/MIYAGAWA/Template-Plugin-Comma-0.01.tar.gz
>   size: 1629 bytes
>    md5: c61ce565b75eb82b287b7ba3d967ff68
> 
> NAME
>     Template::Plugin::Comma - TT Plugin to commify numbers
> 
> SYNOPSIS
>       [% 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.
> 
> DESCRIPTION
>     Template::Plugin::Comma is a plugin for TT, which allows you to commify
>     your numbers in templates. This would be especially useful for prices.
> 
> AUTHOR
>     Original idea by Yoshiki Kurihara <[EMAIL PROTECTED]>
> 
>     TT plugin implemented by Tatsuhiko Miyagawa <[EMAIL PROTECTED]>
> 
>     This library is free software; you can redistribute it and/or modify it
>     under the same terms as Perl itself.
> 
> SEE ALSO
>     the Template manpage, "perldoc -q comma"
> 
> 
> 
> 
> -- 
> Tatsuhiko Miyagawa <[EMAIL PROTECTED]>
> 
> _______________________________________________
> templates mailing list
> [EMAIL PROTECTED]
> http://www.template-toolkit.org/mailman/listinfo/templates
> 



Reply via email to