Hello monks, I need to find and replace a word in DOC document by Perl, where i find this link: http://stackoverflow.com/questions/7051471/find-and-replace-a-word-in-doc-document-perl. It told me to use Win32::OLE, and when I try to install this module by cpan:
cpan[1]> install Win32::OLE Reading '/root/.cpan/Metadata' Database was generated on Thu, 11 Jun 2015 03:17:02 GMT Running install for module 'Win32::OLE' Checksum for /root/.cpan/sources/authors/id/J/JD/JDB/Win32-OLE-0.1712. +tar.gz ok Scanning cache /root/.cpan/build for sizes ...................................................................... +......DONE Configuring J/JD/JDB/Win32-OLE-0.1712.tar.gz with Makefile.PL OS unsupported Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=s +ite] JDB/Win32-OLE-0.1712.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Failed during this command: JDB/Win32-OLE-0.1712.tar.gz : writemakefile NO '/usr +/bin/perl Makefile.PL INSTALLDIRS=site' returned status 65280
it says "OS unsupported". Would you please give me any hints? or other modules and ways to modify Word DOC? Thanks in advanced, Phillip

In reply to Win32::OLE not support Ubuntu 14.10 by PhillipHuang

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.