1 Apr 21:41
Re: Petal::Utils patch
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
diff -rN ./lib/Petal/Utils/Count.pm ../Petal-Utils-0.07/lib/Petal/Utils/Count.pm 0a1,45 > package Petal::Utils::Count; > > use strict; > use warnings::register; > > use Carp; > > use base qw( Petal::Utils::Base );(Continue reading)
RSS Feed