Skip Menu |

This queue is for tickets about the File-BOM CPAN distribution.

Report information
The Basics
Id: 36286
Status: resolved
Priority: 0/
Queue: File-BOM

People
Owner: Nobody in particular
Requestors: Stuart Watt (no email address)
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.14
Fixed in: (no value)



Subject: PAR including File::BOM fails
I just used File::BOM and it failed in a PAR pp executable, although the script worked fine in traditional Perl. I worked around it by forcing an explicit "use Encode::Unicode" which seemed to work fine. I would have expected this to be picked up automatically, but seems to not be counted as an automatic include. It may really be a PAR pp problem, but if "use Encode::Unicode" is always needed, it might be worth adding to File::BOM. Thanks for such a cool and essential module, by the way, it saved a lot of my Windows code!! Error message: Unknown encoding 'UTF-16BE' at File/BOM.pm line 186 Compilation failed in require at script/importdb.pl line 87. BEGIN failed--compilation aborted at script/importdb.pl line 87. Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 822 [280952] Iin_load_module moved for compatibility with build 806 PerlEx support in CGI::Carp Less verbose ExtUtils::Install and Pod::Find Patch for CAN-2005-0448 from Debian with modifications Rearrange @INC so that 'site' is searched before 'perl' Partly reverted 24733 to preserve binary compatibility MAINT31223 plus additional changes 31490 Problem bootstraping Win32CORE 31324 Fix DynaLoader::dl_findfile() to locate .so files again 31214 Win32::GetLastError fails when first called 31211 Restore Windows NT support 31188 Problem killing a pseudo-forked child on Win32 29732 ANSIfy the PATH environment variable on Windows 27527,29868 win32_async_check() can loop indefinitely 26970 Make Passive mode the default for Net::FTP 26379 Fix alarm() for Windows 2003 24699 ICMP_UNREACHABLE handling in Net::Ping Built under MSWin32 Compiled at Jul 31 2007 19:34:48 @INC: C:/Perl/site/lib C:/Perl/lib .
This should be closable now. Special handling for File::BOM was added to Module::ScanDeps version 1.20, which PAR::Packer uses to find dependencies. See https://rt.cpan.org/Ticket/Display.html?id=106144 and https://metacpan.org/changes/distribution/Module-ScanDeps Regards, Shawn. On Thu May 29 15:09:15 2008, morungos2 wrote: Show quoted text
> I just used File::BOM and it failed in a PAR pp executable, although the > script worked fine in traditional Perl. I worked around it by forcing an > explicit "use Encode::Unicode" which seemed to work fine. I would have > expected this to be picked up automatically, but seems to not be counted > as an automatic include. It may really be a PAR pp problem, but if "use > Encode::Unicode" is always needed, it might be worth adding to > File::BOM. Thanks for such a cool and essential module, by the way, it > saved a lot of my Windows code!! > > Error message: > > Unknown encoding 'UTF-16BE' at File/BOM.pm line 186 > Compilation failed in require at script/importdb.pl line 87. > BEGIN failed--compilation aborted at script/importdb.pl line 87. > > > Characteristics of this binary (from libperl): > Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT > PERL_IMPLICIT_SYS PERL_MALLOC_WRAP > PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES > USE_PERLIO USE_SITECUSTOMIZE > Locally applied patches: > ActivePerl Build 822 [280952] > Iin_load_module moved for compatibility with build 806 > PerlEx support in CGI::Carp > Less verbose ExtUtils::Install and Pod::Find > Patch for CAN-2005-0448 from Debian with modifications > Rearrange @INC so that 'site' is searched before 'perl' > Partly reverted 24733 to preserve binary compatibility > MAINT31223 plus additional changes > 31490 Problem bootstraping Win32CORE > 31324 Fix DynaLoader::dl_findfile() to locate .so files again > 31214 Win32::GetLastError fails when first called > 31211 Restore Windows NT support > 31188 Problem killing a pseudo-forked child on Win32 > 29732 ANSIfy the PATH environment variable on Windows > 27527,29868 win32_async_check() can loop indefinitely > 26970 Make Passive mode the default for Net::FTP > 26379 Fix alarm() for Windows 2003 > 24699 ICMP_UNREACHABLE handling in Net::Ping > Built under MSWin32 > Compiled at Jul 31 2007 19:34:48 > @INC: > C:/Perl/site/lib > C:/Perl/lib > .
Thanks, sorry to have been "unresponsive author" on this one.