Closed exercism-1 closed 6 years ago
Oddly, PPI parses @{$a}
as a block cast to @
. The policy needs to be able to handle inner blocks anyway, though. This should be fixed in the next release. Thanks!
New false positive case:
sort { scalar(@{$a->{ids}}) <=> scalar(@{$b->{ids}}) } @foo;
This case should also be fixed by https://github.com/Grinnz/Perl-Critic-Freenode/commit/c35ced23c705abba3391de4f57fce954991f1c1a
:-(