How can I extract data in a Word document using Perl?

前端 未结 5 469
鱼传尺愫
鱼传尺愫 2021-01-21 22:23

How to extract the data from a word doc using Perl?

5条回答
  •  有刺的猬
    2021-01-21 22:55

    If you are not on Windows, I think the best route might be to convert it first.

    If you are not using Windows and don't have access to Win32::OLE, you can use OpenOffice to convert the documents.

    You could wrap up the script in the link into your Perl program. Although the link starts with PDF if you read on it can convert it to text. Also see this stackoverflow post about converting doc and docx files.

提交回复
热议问题