TooMuchCode::ProhibitLargeBlock -- Find oversized blocks
This policy scan for large code blocks of the following type.
map { ... }; grep { ... }; do { ... };
To install Perl::Critic::TooMuchCode, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl::Critic::TooMuchCode
CPAN shell
perl -MCPAN -e shell install Perl::Critic::TooMuchCode
For more information on module installation, please visit the detailed CPAN module installation guide.