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

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

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



Subject: exemptions for ValuesAndExpressions::ProhibitNoisyQuotes
Hi there! First of all, a huge THANK YOU for continuously developing and maintaining Perl::Critic. It's such an awesome tool, should be mandatory in any serious Perl shop! Now, the [ValuesAndExpressions::ProhibitNoisyQuotes] policy is great, but it would be even greater if it were possible to mangle with the forbidden character set. I say that because nowadays most web developers of frameworks such as Dancer and Mojolicious are used to the pattern: get '/foo/bar' => sub { ... }; and Perl::Critic will mark those strings as noisy, asking them to be replaced with: get q[/foo/bar] => sub { ... }; which is not the preferred idiom. Special characters in those strings are: : / * . and it would be perfect if we could add them to a whitelist or some sort :) How does that sound?