in reply to Parsing an MS Word document

You might have seen LAOLA, but I doubt it will make you happy today.

Go with the advice of brother t0mas, and use Win32::OLE. It will make you much more happy. There is a tutorial on Win32::OLE online (by Jan Dubois), and there are also good articles on it in previous issues of The Perl Journal.

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com

Replies are listed 'Best First'.
Re: Re: Parsing an MS Word document
by $code or die (Deacon) on Dec 12, 2000 at 07:12 UTC
    ++ brother clemburg!

    Perl Journal Rules!
    To be honest there don't seem to be a great deal of modules out there that interface with Windows apps. There are so many Windows apps out there it's not really worth creating a module for it when OLE automation is straightforward once you know where to start.

    SpreadSheet::Excel is great and it's obvious that the author went to a great deal of work to write the module without using OLE.

    I've seen a lot of nodes here recently requesting help automating Windows tasks that are very suited to Win32::OLE. Maybe we could post some easy examples to the Code Catacombs?

    On seconds thoughts - I will write a Module Review for Win32::OLE.

    Update: Drat! Rudif has already written a pretty good module review for Win32::OLE. Would it hurt to write another, or would you recommend that I add a follow-on to his node with some more examples?

      How could it hurt to have more informed opinions on such a useful module?

      In terms of priorities, I think examples abound in other references (like TPJ, books, module docs, online tutorials, etc.). Maybe you could add a summary of pointers to such information to your review? It is hard to come up with good examples. Chances are the work has already been done by others. Why not just collect it into one place?

      I think this would be a great service to all of us.

      Anyway, thanks for your offer!

      Christian Lemburg
      Brainbench MVP for Perl
      http://www.brainbench.com

      Win32::OLE will only work with Perl running on a Windows machine. This means its useless to most Perl programmers including me.
      I use Spreadsheet::ParseExcel all the time and wish there was an equivalent for MSWord docs.