So here's my assignment: I have an existing Perl script that takes a bunch of info dumped from a database and uses LaTeX to turn it into a PDF file. My job is to change this so the info is turned into a Word .docx file (which, for anyone who doesn't know, is a zip archive of a bunch of XML files).
My question is, does anyone know of any readily-available scripts that already do this (or something similar, in part or in whole), so I don't reinvent any wheels unnecessarily? Or, if not, do any of the more experienced folks here (I'm also learning Perl while I work on this) have any suggestions on how to approach this problem? Any constructive feedback you can provide would be helpful!