I had been given a terrible task...
Suppose you have a bunch of dimensions (tables in a database) and you have to
create a document (a doc, actually), with some tables containing the records
in those tables...
What to do?
After stressing for a while, I realized that grabbing the files with the
records, using vim to create HTML tables (with the fantastic operator s),
opening them with Firefox and copy-pasting them into Office... ta-ra!!
Instant-tables!
It was a good thing, because most of those dimensions have several hundreds of
records
Yes, I'm a programmer, and yes, I *am* lazy
Win32::OLE (Score:1)
I generate a lot of Excel spreadsheets using DBI + Win32::OLE, and I bet it would be just as easy to do the same with Word.
rjbs
or use Spreadsheet::WriteExcel (Score:2)
Pure perl, pure goodness! Thank you jmcnamara.
Now we just need someone to do Pod::Simple::MsWord, so we can avoid Word entirely.