I am not completely sure in this particular case, but with PerlApp, often the answer is to add more "use" statements, like this:
use Lingua; use Lingua::Sentence;
PerlApp uses the "use" statements to decide what to include into the .exe. If this file is part of the base module's manifest, then this will work. Give it a try and let us know what happens. To force a random file into the .exe with PerlApp like perhaps a .gif that your user code needs, it is easiest to start the GUI version (perlapp with no parameters). If memory serves me correctly, there are some obvious options to select a file. However for the program itself, try the above first.

Update: here is a node where a similar suggestion worked: PerlApp and Win32::Unicode The OP's question is a bit different, but close enough that an attempt is warranted.


In reply to Re: Using PerlApp or PAR with modules with data dependenciess by Marshall
in thread Using PerlApp or PAR with modules with data dependenciess 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.