in reply to Troubles creating a .exe

Warning: I am not a user of PerlApp.

For some strange reason your @INC array seems to be empty, hence perl will not be able to find any module. It simply does not know where to look for it.

To see if that is actually so, try to compile and run this: print "$_\n" for @INC;

Run it from the command line; from Komodo and from your .exe. You are likely to have three different results.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^2: Troubles creating a .exe
by Anonymous Monk on Feb 26, 2012 at 22:52 UTC

    Warning: I am not a user of PerlApp.

    For some strange reason your @INC array seems to be empty, hence perl will not be able to find any module.

    No, perl can't find the files because they're not in the .exe, because perlapp didn't package them.

    That perlapp makes @INC empty is irrelevant, since perlapp didn't pack the missing files because it didn't know it needed to pack them.

    Helping perlapp by naming all the modules that need to be packed, I have adressed in Re: Troubles creating a .exe

      One should have thought PerlApp could try to find itself the modules it uses.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      My blog: Imperial Deltronics

        One should have thought PerlApp could try to find itself the modules it uses.

        Well, it tries as best it can ; there is no substitute for testing/manual intervention :)

        :) IIRC the phrase goes one should think ... :)

Re^2: Troubles creating a .exe
by cbouwkamp (Novice) on Feb 26, 2012 at 22:38 UTC
    I get this output from the komodo IDE C:\Program Files (x86)\ActiveState Komodo IDE 5\lib\support\dbgp\perllib C:/Perl/site/lib C:/Perl/lib this from the command line C:/Perl/site/lib C:/Perl/lib and the perlapp lets me create a .exe but there is no output from it