in reply to Re^5: Troubles creating a .exe
in thread Troubles creating a .exe

Yes it runs from the command line, I just tested it

Replies are listed 'Best First'.
Re^7: Troubles creating a .exe
by Marshall (Canon) on Feb 26, 2012 at 06:09 UTC
    Well darn! I don't know what else to offer. Adding more to the @INC path seems to work although I'm not sure why this is necessary.
      by @inc do you mean adding lines like these use lib ("C:/Perl/lib/Win32API");
        That is a way in the source code to specify other places to look for modules. I think that if "C:/Perl/lib/Win32API" is in the Windows %path% variable, then I think this will also be searched by PerlApp. I have project specific libraries for modules: like use lib ('C:/projectX');

        If the code runs without PerlApp, then I would add more possibilities to the search path(s) so that PerlApp can find what you need. Why this is necessary, I don't know in this case, but it appears to be so.