What are common pitfalls or gotchas with Perl::Critic?

Perl::Critic is a static code analysis tool for Perl that helps enforce coding standards and best practices. It is crucial for maintaining high-quality code, but users may encounter common pitfalls that can hinder its effectiveness. This guide highlights some of these gotchas.
Perl::Critic, Perl, coding standards, static analysis, code quality, Perl programming
        # Example of a common Perl::Critic warning
        use strict;
        use warnings;

        my $var = "Hello, world!";
        print $var;  # Warning: Use of 'print' without a newline character
    

Perl::Critic Perl coding standards static analysis code quality Perl programming