NAME
Perl::Critic::PJCJ - Perl::Critic policies for code style consistency
VERSION
version v0.1.0
SYNOPSIS
# In your .perlcriticrc file:
include = Perl::Critic::PJCJ
# Or from the command line:
perlcritic --include Perl::Critic::PJCJ lib/
DESCRIPTION
This distribution provides Perl::Critic policies for enforcing consistent coding practices in Perl code, including string quoting consistency and line length limits.
POLICIES
- Perl::Critic::Policy::ValuesAndExpressions::UseConsistentQuoting
-
Enforces consistent and optimal quoting practices through three simple rules: reduce punctuation, prefer interpolated strings, and use bracket delimiters in preference order.
- Perl::Critic::Policy::CodeLayout::LimitLineLength
-
Enforces a configurable maximum line length to improve code readability. Lines that exceed the specified limit (default: 80 characters) are flagged as violations. This helps maintain consistent formatting and readability across different display contexts.
AUTHOR
Paul Johnson <paul@pjcj.net>
COPYRIGHT
Copyright 2025 Paul Johnson.
LICENCE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.