pp-perl-par-packager

What to include when using Encode with PAR Packer

有些话、适合烂在心里 提交于 2021-02-10 13:56:30
问题 I've been working with PAR::Packer to create standalone executable files out of Perl scripts. The only difficulty I have with it is figuring out what extra DLLs I have to force it to include via the -l option. I'm now working with a Perl script that requires Encoding with utf16-le. The Encode::find_encoding function works just fine in the script, but it doesn't work after I have packaged it with pp . Here's a tiny script (let's call it encode.pl) to illustrate the problem: use strict; use