in reply to perl2exe error

Have you tried what the manual suggests?

3. Testing your executable

Test the executable by running it from a command line prompt.

If it dies with a "Can't locate somemodule.pm in @INC ... " error message, then add an explicit use statement for the missing module to your script.

(...)