On Mon, 30 Mar 2009 16:21:10 -0500
Brad Lhotsky <b...@divisionbyzero.net> wrote:

> # Add a new format
> $report->addFormat('credit', { color=>'green', bold => 1 } );
> 
> # Use that:
> $report->custom_row( 'credit', 1, '2009-04-01', 2000.00, 0, 'Bank Error');

A small note on API - you seem inconsistent here between camelCase and
under_scores. Pick one. I suggest the latter - it seems more the way perl
is done by convention.

-- 
Paul "LeoNerd" Evans

leon...@leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: signature.asc
Description: PGP signature

Reply via email to