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: 55604
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: rjray [...] blackperl.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.105
Fixed in: 1.108



Subject: Variables::ProhibitPunctuationVars gives false-positive on qr// regexp's ending in '$'
Creating a regular expression object that ends with the end-of-string anchor causes a false-positive for the Variables::ProhibitPunctuationVars policy. The following regexp is an example of this: $qr = qr/foo$/; Using matched brackets also triggers the false-positive: $qr = qr{foo$}; # Also triggers Randy -- """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" Randy J. Ray Silicon Valley Scale Modelers: http://www.svsm.org rjray@blackperl.com randy.j.ray@gmail.com
Proposed fix committed as svn revision 3791.