Hi,
I am trying to achieve the following through my perl script:
Open a word(.doc) file and read it .After reading it retrieve the image contents that the word file contained .
My script so far reads the text contents from the word file .However I am unable to get the image part or read it .
My basic aim is to convert word to html. But I am stuck on image part if any contained in the word file.
I can't use Win32::OLE module since I am running my perl script on Linux machine .
I made a search but just can't get my answer desired over google and over here.
Can anyone suggest on how I can read the word file and convert it to html using a perl script
Please don't give links to already made software but some hints on how my task can be achieved
Thankyou !!!!!!

In reply to Perl to read word(.doc) file by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.