No, I looked for such a thing for quite a while without finding it. The only one I know of in Perl is closed source. It's something I've wanted to do for quite a while now, but more important things keep coming up.

The best architecture I saw out there (look at this guys old YAPC presentation) put the raw report data into XML form and used XSLT on that to create HTML, CSV, PDF, Excel, etc. To my mind this seems to be the lowest effort way of doing it, because with any luck, you just need a single piece of XSLT for each one of the output file types with a second piece to customize colors, fonts, etc.

As far as a report description format goes, XML isn't particularly human readable IMO, so I'd advise _not_ using XML. With a flat text file report description, you can create new reports the Unix Way (TM): with a text editor.

I'm working on my own report generator package in between all my pressing emergencies.

Until that's finished, all the stuff I need to put into production tomorrow I do with TT using plugins, which gives me the most report for the least programming.


In reply to Re: Avoiding reinventing the wheel: report generation systems? by cleverett
in thread Avoiding reinventing the wheel: report generation systems? by rkg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.