in reply to perl and ms office

What version of MS Word? If you use the 97-2003 format, you will need to use Win32::OLE. The newer format is a zip file that contains an XML document you can process using any number of the XML modules found on CPAN.