Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PPI CPAN distribution.

Report information
The Basics
Id: 93568
Status: open
Priority: 0/
Queue: PPI

People
Owner: Nobody in particular
Requestors: jacoby.david [...] gmail.com
Cc:
AdminCc:

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



Subject: PPI fails to parse utf8 variable names
Date: Thu, 6 Mar 2014 09:34:02 -0500
To: bug-PPI [...] rt.cpan.org
From: Dave Jacoby <jacoby.david [...] gmail.com>
Wrote code that uses the pi symbol rather than 'pi' as a variable name, mostly to see if Perl and my editors could handle Unicode. It worked. Available here: https://gist.github.com/jacoby/9390819 More recently wrote code to run Perl::Critic on a directory tree, and found that Perl::Critic died on that program with this error: Can't parse code: Fatal error... regex failed to match in 'π = 'pi' ; ' when expected at /usr/share/perl5/PPI/Token/Word.pm line 416. If Perl can parse utf8, Perl Critic should be able to criticize utf8 and PPI should be able to parse utf8. -- David Jacoby jacoby.david@gmail.com