in reply to Re: Perl Executables in thread Perl Executables
Correct me if I'm wrong (this happens frequently), but doesn't the use MODULE qw(:method) only work if the module exports the method? I've tried to limit my .exe's before, be it only works on certain methods in certain modules.
And, I've not used Perl2exe as extensively as I've used ActiveState's PerlSvc and PerlApp (from Perl Dev Kit). Limiting the imported methods does not help as the modules are typically included as .dll's. So, while I might only use two methods from Win32::Process, it includes the entire Win32/Process/Process.dll. There is an option to exclude the .dll's from the compile, thus making the .exe smaller, but the .dll's must be installed on the target machine to do so. You might look for similar functionality in Perl2exe.
|