http://qs321.pair.com?node_id=433265

Thilosophy has asked for the wisdom of the Perl Monks concerning the following question:

Fellow monks,

is there a good database reporting tool written in Perl? Something that does at least part of what for example DataVision (written in Java) can do?

I do not need a GUI to build the reports, manually writing report definitions in (for example) XML would be totally acceptable. But it needs to be able to present the reports (which can be parameterized) via CGI, both in good-looking HTML and in a downloadable version for Excel.

Replies are listed 'Best First'.
Re: Is there a database reporting tool written in Perl?
by Corion (Patriarch) on Feb 22, 2005 at 07:59 UTC

    I'm not aware of any premade formatter, but the Querylet idea seems to be fairly close to a simple report generator. For anything more elaborate, I'd turn to Template Toolkit or a PDF Templating solution, depending on the exact needs. Possibly a LaTeX solution could work as well, but I haven't seen any all-in-one reporting solution.

      ++ Thanks

      I'll have a look at Querylet, especially as there is also Querylet::CGI which "turns a querylet into a web application".

Re: Is there a database reporting tool written in Perl?
by crenz (Priest) on Feb 22, 2005 at 16:00 UTC
    Some templating modules might be useful for you, e.g. Excel::Template. That one uses XML to create Excel files.
Re: Is there a database reporting tool written in Perl?
by dragonchild (Archbishop) on Feb 22, 2005 at 14:27 UTC
    If Querylet isn't sufficient, let me know as I have something just like that written that can be adapted to any need.

    Being right, does not endow the right to be rude; politeness costs nothing.
    Being unknowing, is not the same as being stupid.
    Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
    Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.