|Subject:||Failure on Unicode byte order mark|
PPI parsing fails if a .pm file starts with the Unicode byte-order mark (BOM --Attached is a simplified Japanese UTF-8 module that uses Locale::Maketext. That file has a BOM that looks like 0xefbbbf, namely the UTF-8 BOM. Note: I gzipped the attachment to prevent RT and/or browsers from mangling the BOM. If you try to parse that document as follows, you get an error message: perl -MPPI::Document -e 'PPI::Document->new("ja.pm")||print"$PPI::Document::errstr\n"' Error at line 1, character 0 Perl 5.8.6 handles this file just fine. -- Chris
Message body not shown because it is not plain text.