Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating a Report with Graphs and Tables

Status
Not open for further replies.

tlohan

Programmer
Joined
Sep 14, 2001
Messages
19
Location
BE
Hi,

I have used Perl to gather stats on the performance of a product I am working on. I output these stats to a comma delimited file.

I have been manually going through this file to create a report document which contains tables and text.

I believe its possible to create tables and graphs with Perl and wish to write a program to automate the creation of a results document in Microsoft Word.

Any pointers on where to start would be of great benefit.

Thanks,

Tom
 
I don't know about writing to Word format, but you can create graphics with GD::Graph or Image::Magick. Search CPAN ( for any modules for writing to Microsoft Word. Sincerely,

Tom Anderson
Order amid Chaos, Inc.
 
You can also try the Template Toolkit (CPAN: Template).
This module has a killer set of graphing utilities (among other things) that are easy to implement.

CPAN install Template
 
Should be possible to create a .rtf document, which can then be read into Word. Mike

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

It's like this; even samurai have teddy bears, and even teddy bears get drunk.
 
Hi,

I have installed GD::Graphs and the Template Toolkit and have been playing around with these.

I see that the Template Toolkit can use GD::Graphs as a plugin and have tried the code in the example but it is not working for me.

I want to try and output this to a Word document if possible.

Any ideas ??

Thanks,

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top