Hello Anonymous Monk,

I have never done this before so I can not really tell you how to do extract the data from a word file and process them.

But recently another question was similar to yours, not exactly but similar. Where I created a short script of exporting nth excel files, convert them, combine them and store them to '*.csv' file. At that point you can easily convert them back to excel or word. I guess about Word I do not know. More information can be found at writing after parsing. I think this a good starting point to see how the process can be done.

But I am curious why you are not using Google first to check what information you can found and continue from there.

With a really quick search I found Win32::Word::Writer, Text::Extract::Word etc...etc...

But is also depends on what operating system you are using? (Windows, Linux, Mac)...The same solution does not apply to all.

Well I think you currently have more than enough information and questions to start your search. If I was you I would create a sample of code and try a few attempts based on the modules that you can find online. Coding is about searching, testing failing again and again until you make it.

So go ahead start coding, and when you need some help your code you can ask a question again here.

I hope my answer provides you with enough information, and links to get you started.

Seeking for Perl wisdom...on the process of learning...not there...yet!

In reply to Re: Merge Excel data with Word Template by thanos1983
in thread Merge Excel data with Word Template 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.