perl-criticism - Perl pragma to enforce coding standards and best-practices

Distribution: ROSA 2014.1
Repository: ROSA Contrib x86_64
Package name: perl-criticism
Package version: 1.20.0
Package release: 5-rosa2014.1
Package architecture: noarch
Package type: rpm
Installed size: 38.01 KB
Download size: 19.70 KB
Official Mirror:
This pragma enforces coding standards and promotes best-practices by running your file through Perl::Critic before every execution. In a production system, this usually isn't feasible because it adds a lot of overhead at start-up. If you have a separate development environment, you can effectively bypass the 'criticism' pragma by not installing Perl::Critic in the production environment. If Perl::Critic can't be loaded, then 'criticism' just fails silently. Alternatively, the 'perlcritic' command-line (which is distributed with Perl::Critic) can be used to analyze your files on-demand and has some additional configuration features. And Test::Perl::Critic provides a nice interface for analyzing files during the build process. If you'd like to try Perl::Critic without installing anything, there is a web-service available at the manpage. The web-service does not yet support all the configuration features that are available in the native Perl::Critic API, but it should give you a good idea of what it does. You can also invoke the perlcritic web-service from the command line by doing an HTTP-post, such as one of these:



  • perl(criticism)
  • perl-criticism == 1.20.0-5:2014.1

    Install Howto

    1. Enable ROSA Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-criticism rpm package:
      # urpmi perl-criticism


    • /usr/lib/perl5/vendor_perl/5.18.2/
    • /usr/share/doc/perl-criticism/Changes
    • /usr/share/doc/perl-criticism/LICENSE
    • /usr/share/doc/perl-criticism/META.yml
    • /usr/share/doc/perl-criticism/README
    • /usr/share/man/man3/criticism.3pm.xz


    2014-07-25 - Denis Silakov <> 1.20.0-5 + Revision: 4533519 - MassBuild#464: Increase release tag