Perl::Critic is a static code analyzer and can of course, by definition, not know the runtime length of arrays.
in reply to Re: Perl::Critic policy for common Log::Log4perl mistake
in thread Perl::Critic policy for common Log::Log4perl mistake
The intention is to create Perl::Critic policy to help track down all logging calls, and then based on the output, help identify which ones are likely to have a negative impact on performance.
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them.