in reply to Report Formatting
Take a look at the format group of functions in core Perl. I personally have never have had any real use for it, but it seems it might just fit what you want to do.