Well, this is a sort of test for an entry level programming job I applied for. The guy sent me two assignments, the first was to do a mail merge with an Excel spreadsheet and a Word document. I accomplished that fairly easily, it had been a while though. Below is the second assignment.

Perl programming:

a. Save the data in the spreadsheet above to a tab delimited file.

b. Save the Word document template above to a PostScript EPS file.

c. Using the PostScript::Simple module, write a Perl script that merges the template with the data from the tab delimited file.

d. I’d like to see the Perl code, input data, EPS file, and the final output.

So, in reading over the documentation for Postscript::Simple it just didn't seem like the right module to do the job, but again, I am not that familiar with Perl and the guy knows this. From what I saw in the forums etc. and Google searches Win32::OLE seemed the best way to come close to what he is looking for, hence my previous post on doing a mail merge in Perl. But, in re-reading his instructions it seems he wanted the template converted to EPS format and THEN merge that with the tab delimited text file. I am assuming this would then produce the merged documents in EPS format also, although I am not altogether sure about this. I hope this makes sense.

Thanks for your replies and advice

Carl


In reply to Re^5: Mail Merge with Word 2007 and Perl by cmiller2005
in thread Mail Merge with Word 2007 and Perl by cmiller2005

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.