[Petal] Petal::Utils patch

Warren Smith wsmith at hbslabs.com
Fri Apr 1 20:41:50 BST 2005


What a crappy patch. Let me try this again...


On Fri, 2005-04-01 at 13:24 -0600, Warren Smith wrote:
> This is against 0.06.
> 
> This adds several new modifiers:
> count: counts items in array
> dollar: formats string as us dollar amount
> percent: formats string as percentage (%.2f%%)
> telephone: formats strings as NANPA phone numbers 
> include: include file with dynamic name
> 
> I added the tests, but it looks like the docmentation may be
> auto-generated, so I didn't touch that.
> 
> Questions, comments, complaints welcome.
> 
> -Warren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 12175 bytes
Desc: not available
Url : http://lists.webarch.co.uk/pipermail/petal/attachments/20050401/ffa1e10a/patch.bin


More information about the Petal mailing list