Show quoted text> if ( unpack('V', $foo) == 2 ) { ... }
Technically, I think the parens are unecessary here because unpack
takes exactly two arguments. However, I agree that the parens
definitely improve readability, so we've changed the rules to allow
parens whenever they are followed by a high-precendence operator.
The fix is available in SVN revision 885, and will be in the next
release of Perl-Critic, which should be a couple weeks away.