Hi, I am faced with the following situation:

1. I have a Perl script that cleans up text in different human languages with regular expressions. It uses Perl modules which I created for each such language (Arabic, Chinese, etc.). This script already runs in a production system that does something with the cleaned-up text.

2. This production system and my script now have to be ported to Windows and given to a customer, but with a condition that the customer should NOT be forced to install Perl. This means that somehow:

  • either the Perl interpreter should be statically linked into some C/C++ program calling my Perl script;
  • or the perl script should be embedded into this C/C++ program
  • or both.
  • 3. My question is how to do this porting to Windows best? I tried using perlembed, but had difficulties with including the modules. The other difficulty is that the script will be continuously updated/improved under Linux, which means that its Windows update should be as quick and easy as possible.

    Thank you!

    Eugene.

    In reply to using a Perl script in Windows without installing perl by evgen-i

    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.