in reply to Perl script for .doc files

Working with word-documents is more that just adding a use Win32::OLE::Const 'Microsoft Word'; to the beginning of your code.

You should google on how to use it, and by that you might stumble on the following helpful tutorial/example: Win32::ole and MSWord.

HTH, Rata