--On Thursday, July 18, 2002 13:59:23 -0400 darren chamberlain 
<[EMAIL PROTECTED]> wrote:

> I'd like to add a couple of new virtual methods to Template::Stash: merge,
> which takes several lists and (non-destructively) merges them into one
> list, and commify, a scalar op, stolen from perlfaq 5.
>
>   [% big_number = 187439493280; big_number.commify %]
>   187,439,493,280

It'd be nice if one can choose the separator, e.g.
   [% big_number = 187439493280; big_number.commify(" ") %]


--
Eric Cholet



Reply via email to