I'm new to Perl, but I have been given a perl script and a perl module file that converts an input file to a different file type. I have been told to look for options to make these two files into a standalone executable that can be run on any Windows machine (I'm not sure whether I'll have to make one that's 64 bit and one that's 32 bit, but I don't think that is an important issue as of now) by simply dragging and dropping the input file onto the executable.

I have looked through the options (pp, perl2exe, etc.) and have pretty much decided on pp because it's free and seems like it's pretty easy to use. I can make an executable with pp and I know that it includes the modules that I need (or at least I know how to include those modules), but how do I include the module given to me that isn't in cpan? I tried just including it in the files for the executable, but that doesn't seem to work.

So in summary, I want to create an executable from a perl script and perl module that runs the script when given an input file. Thanks for any help!


In reply to Making a standalone executable by Uggles

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.