Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 15367
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: thaljef [...] cpan.org
Requestors: chris+rt [...] chrisdolan.net
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.12
Fixed in: 0.13



Subject: Workaround lack of Unicode supprot in PPI
PPI does not currently support Unicode, but instead supports only Latin-1. A file that begins with a Unicode byte order mark causes PPI parsing to fail, and thus Perl::Critic croak()s on that file. It would be useful if there were a way to fail gently on unparseable content so, for example, Test::Perl::Critic could fail gracefully. See also RT bug 15353 which reports the BOM failure in PPI. --Chris