in reply to Re: Troubles creating a .exe
in thread 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.

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

Replies are listed 'Best First'.
Re^3: Troubles creating a .exe
by CountZero (Bishop) on Feb 27, 2012 at 07:27 UTC
    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 ... :)

        Well, obviously PerlApp is not doing a good job then.

        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