Mark Gardner<p><span class="h-card"><a href="https://mastodon.social/@regehr" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>regehr</span></a></span> <span class="h-card"><a href="https://discuss.systems/@commodore" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>commodore</span></a></span> <span class="h-card"><a href="https://discuss.systems/@dev" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>dev</span></a></span> There is even a (low-severity, a/k/a “cruel”) <a href="https://social.sdf.org/tags/PerlCritic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PerlCritic</span></a> policy to discourage everything but $_, @_, $], and numbered <a href="https://social.sdf.org/tags/RegularExpression" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegularExpression</span></a> capture variables: <a href="https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitPunctuationVars" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">metacpan.org/pod/Perl::Critic:</span><span class="invisible">:Policy::Variables::ProhibitPunctuationVars</span></a></p><p><a href="https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitMatchVars" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">metacpan.org/pod/Perl::Critic:</span><span class="invisible">:Policy::Variables::ProhibitMatchVars</span></a> already protects you against the performance-sapping $`, $&, and $' match variables</p><p>And you can configure your own prohibited list with <a href="https://metacpan.org/pod/Perl::Critic::Policy::Variables::ProhibitEvilVariables" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">metacpan.org/pod/Perl::Critic:</span><span class="invisible">:Policy::Variables::ProhibitEvilVariables</span></a></p><p><a href="https://social.sdf.org/tags/Perl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Perl</span></a> <a href="https://social.sdf.org/tags/RegEx" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegEx</span></a> <a href="https://social.sdf.org/tags/RegExp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegExp</span></a> <a href="https://social.sdf.org/tags/RegExes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegExes</span></a> <a href="https://social.sdf.org/tags/RegExps" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RegExps</span></a></p>