I've been using Perl for some time now, but only recently learned about the ability to 'compile' perl into exe's using utilities like perl2exe. I also recently discovered the App::Packer / PAR modules, which are free, and being the cheapskate that I am, I'd like to use them rather than shelling out $400 for a full version of perl2exe.
I recently downloaded and installed App::Packer, and got it to work with a 'hello world' script (i.e. it successfully compiled a Win32 exe). However, when I try to compile scripts with modules, I get errors similar to this one:
Error while creating Module::Info object for 'Time::Zone' at F:/Perl/site/lib/App/Packer/Frontend/ModuleInfo.pm line 123.
I have a feeling I need a modified version of Module::Info, but I'm not sure which one or where to get it. The other problem with App::Packer seems to be that you have to search through your perl directory and copy all the DLLs that the compiled exe needs.
Ideally, I would like to be able to do the following things using PAR:
1) Compile any given perl script into an exe, preferably with any library code (dlls) needed bundled into the exe itself
2) Be able to do #1, but without a terminal popping up. I'd like this so I can make GUIs with Perl/Tk, or call the exe's from other languages
Is this possible? If so, can someone walk me through the following:
1) which modules do I need? Where can I get them, is there anything more to installing them than the usual "ppm install mod-name.ppd"
2) can you give me a script that uses the modules to compile EXEs from other scripts (perferably with an option to compile with and without a terminal popping up on execution), and show me how to use it.
Bigtime thanks in advance to anyone who can help me out!