Test::Perl::Critic wraps the Perl::Critic engine in a convenient subroutine suitable for test programs written using the Test::More framework. This makes it easy to integrate coding-standards enforcement into the build process. For ultimate convenience (at the expense of some flexibility), see the criticism pragma.
If you have an large existing code base, you might prefer to use Test::Perl::Critic::Progressive, which allows you to clean your code incrementally instead of all at once..
If you'd like to try Perl::Critic without installing anything, there is a web-service available at http://perlcritic.com. The web-service does not support all the configuration features that are available in the native Perl::Critic API, but it should give you a good idea of what Perl::Critic can do.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.04-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
1.04-bp155.2.8 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
1.04-bp154.1.17 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.04-bp153.1.13 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
1.04-bp152.2.18 info | GA Release | 2020-04-17 | 15 SP2 |
|
|