Hai i want to convert word document to html for which i have used MSWord::ToHTML module

while installing this module following error is comming please help me how to solve this problem

the error is:

Cannot determine perl version info from lib/MSWord/ToHTML.pm Locating bin:abiword... found at /usr/bin/abiword. Locating bin:tidy... missing. Unresolvable missing external dependency. Please install 'tidy' seperately and try again. NA: Unable to build distribution on this platform. No 'Makefile' created AMIRI/MSWord-ToHTML-0.006.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install

my code is:

use strict; use warnings; use MSWord::ToHTML; my $converter = MSWord::ToHTML->new; my $doc = $converter->validate_file("/home/myself/my_excellent_writing +.doc"); # This returns an instance of MSWord::ToHTML::Doc my $docx = $converter->validate_file("/home/myself/my_excellent_notes. +docx"); # This returns an instance of MSWord::ToHTML::DocX my $writing_html = $doc->get_html; # This returns an instance of MSWord::ToHTML::HTML my $notes_html = $docx->get_html; # This returns an instance of MSWord::ToHTML::HTML my $text = $notes_html->content; # The text content of the file. my $text = $writing_html->content; # The text content of the file.

In reply to How to Convert Word Document to HTML by elavarasan

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.