in reply to using binmode and slurp with Winword *.doc

Just off the top of my head - may be valid or total bunk.

--MidLifeXis

  • Comment on Re: using binmode and slurp with Winword *.doc

Replies are listed 'Best First'.
Re^2: using binmode and slurp with Winword *.doc
by fionbarr (Friar) on Nov 03, 2009 at 17:48 UTC
    interesting point about docx...I don't think I've tried that...the procedure dies when I try to open password-protected files...that is not a problem though; I won't have them in production.
Re^2: using binmode and slurp with Winword *.doc
by afoken (Chancellor) on Nov 04, 2009 at 20:25 UTC

    Just a small note: docx, like all those other legacy+X-extensions from the newer MS Office versions, is a ZIP file containing XML and some helper files. Perl can unzip, perl can do really weired things with XML, so docx and friends are easier to handle than the classic binary garbage formats.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)