I am begginer of the Perl.
I made my Perl script and I want to make a Perl script into a self-contained executable. To create .exe file I used PAR::Packer
. After creating and executing .exe file I get such error:
Can't call method "encode" on an undefined value at Win32/Unicode/Util.pm line 36, <DATA> line 2125.
Compilation failed in require at Win32/Unicode.pm line 14, <DATA> line 2125.
BEGIN failed--compilation aborted at Win32/Unicode.pm line 14, <DATA> line 2125.
Compilation failed in require at if.pm line 13, <DATA> line 2125.
BEGIN failed--compilation aborted at App/Weryfikacja/Term.pm line 7, <DATA> line 2125.
Compilation failed in require at App/Weryfikacja/Log.pm line 8, <DATA> line 2125.
BEGIN failed--compilation aborted at App/Weryfikacja/Log.pm line 8, <DATA> line 2125.
Compilation failed in require at App/Weryfikacja.pm line 17, <DATA> line 2125.
BEGIN failed--compilation aborted at App/Weryfikacja.pm line 17, <DATA> line 2125.
Compilation failed in require at script/diagfull.pl line 54, <DATA> line 2125.
BEGIN failed--compilation aborted at script/diagfull.pl line 54, <DATA> line 2125.
I want to notice that Perl script runs well. What can cause my .exe file doesn't work? Maybe I need to add modules or something like that to .exe file?