Skip Menu |
 

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

Report information
The Basics
Id: 122064
Status: open
Priority: 0/
Queue: Perl-Critic-Pulp

People
Owner: Nobody in particular
Requestors: EDAVIS [...] cpan.org
Cc:
AdminCc:

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



Subject: ValuesAndExpressions::ProhibitUnknownBackslash and \N
Download (untitled) / with headers
text/plain 180b
I believe that ValuesAndExpressions::ProhibitUnknownBackslash needs to understand the \N named character escape sequence introduced in recent perls. E.g. $foo = "\N{CHECK MARK}";
Subject: Re: [rt.cpan.org #122064] ValuesAndExpressions::ProhibitUnknownBackslash and \N
Date: Sat, 17 Jun 2017 16:28:19 +1000
To: "EDAVIS via RT" <bug-Perl-Critic-Pulp [...] rt.cpan.org>
From: Kevin Ryde <user42_kevin [...] yahoo.com.au>
Download (untitled) / with headers
text/plain 410b
"EDAVIS via RT" <bug-Perl-Critic-Pulp@rt.cpan.org> writes: Show quoted text
> > I believe that ValuesAndExpressions::ProhibitUnknownBackslash needs to > understand the \N named character escape sequence introduced in recent > perls.
It understands, with "use charnames" (which extends back to 5.6 actually). I see it's brought in automatically by 5.16 up. I uploaded a version 94 which looks for "use 5.016" etc too. Thanks.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.