We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following usages are not detected but should be. The minute you take them out of the strings, they're detected, however.
"$`"; "$&"; "$'"; "$PREMATCH"; "$MATCH"; "$POSTMATCH";
Example:
$foo = 'foo' . $`; # detected $foo = "foo$`" # NOT detected qr/$`/; # NOT detected <<"HEREDOC"; # NOT detected $` HEREDOC
Perl::Critic version: 5c577fc
The text was updated successfully, but these errors were encountered:
I suspect this is a PPI issue over a Perl::Critic issue, but I haven't looked.
Sorry, something went wrong.
Not sure if that's correct; P:V:ProhibitPunctuationVars has routines in it to detect its illegal variables being used in heredocs and regexes.
I would imagine the fix would be implementing something similar in P:V:ProhibitMatchVars.
No branches or pull requests
The following usages are not detected but should be. The minute you take them out of the strings, they're detected, however.
Example:
Perl::Critic version: 5c577fc
The text was updated successfully, but these errors were encountered: