almaler has asked for the wisdom of the Perl Monks concerning the following question:

Hello All,
I am new to Perl :(
I am running the following command in an attempt to compile my .pl file into a .exe file:

perl2exe -v -I c:\perl\site\lib:c:\perl\lib topsecret.pl
The file seems to be compiled and appears in my directory. When I try to run the .exe, I get the following error message:

Unknown error Compilation failed in require at PERL2EXE_STORAGE/Config/IniHash.pm line 6.
BEGIN failed--compilation aborted at PERL2EXE_STORAGE/Config/IniHash.pm line 6.

Compilation failed in require at c:\perl2exe\topsecret.exe line 1.
BEGIN failed--compilation aborted at c:\perl2exe\topsecret.exe line 1.

Replies are listed 'Best First'.
Re: Compiling using Perl2exe
by talexb (Chancellor) on Mar 10, 2005 at 21:50 UTC

    I think this is probably a question for IndigoStar .. have you talked to their customer support?

    Alex / talexb / Toronto

    "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Re: Compiling using Perl2exe
by sekitan (Beadle) on Mar 10, 2005 at 23:09 UTC
    I too had many bad experiences trying to compile .pl files into .exe files. Have you looked at parl ( the perl archive tool kit) on the CPAN? Among many other wonderful tools, parl will package your script with the perl executable and present you with your very own .exe file. Parl is also smart enough to grab any modules that your script might need as well. http://search.cpan.org/~autrijus/PAR-0.87/script/parl.pod