Hi all, I'm trying to create an executable from my perl script to run on another windows machine. I have no problems creating the executable, but when I bring the .exe file to the target machine that is not running perl I receive the "Can't locate XSLoader.pm in @INC (@INC contains: CODE(0x86a024 .) at -e line 373." error message. The following is the command I used to create my .exe: "pp -o test.exe C:\Perl\hello.pl"

In an attempt to fix this problem I have tried adding this module to the .exe file during at it's creation time.

The .exe file is created on a Windows XP Pro SP2 machine using Perl v5.8.8.822 from ActiveState. Also I am using PAR version 0.980.

Thanks in advance for your assistance.


In reply to Perl Executable by vette99

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.