Subject: | wrong option in documentation for ProhibitInterpolationOfLiterals |
Hi
In Debian we got the following Bug-Report for Perl::Critic:
---
The documentation for
ValuesAndExpressions::ProhibitInterpolationOfLiterals policy says about
'allow_double_quote_if_string_contains_single', however the right option
name is 'allow_if_string_contains_single_quote'.
---
See http://bugs.debian.org/542814
---
The POD says:
The flag C<allow_if_string_contains_single_quote> permits
double-quoted strings if the string contains a single quote (')
character. It defaults to off; to turn it on put the following in
your F<.perlcriticrc> file:
[ValuesAndExpressions::ProhibitInterpolationOfLiterals]
allow_double_quote_if_string_contains_single = 1
---
Many thanks in advance
Bests
Salvatore