Search code examples
perlexepar

Converting Perl script to EXE using Par Packer in Perl


I have converted an executable file using Perl Par Packer in Windows 7. But when I execute the file, it shows some error.

I think I have to add the module also, but I am not sure. I basically use pp -o sample.exe sample.pl

I use ActivePerl 5.16.

Enter image description here

It's working fine as the Perl script, but after converting into an EXE file, it terminates with the error.


Solution

  • This issue is solved by adding the Mojo module in the same location of the standalone executing file