rules/perl/coding-style.md
This file extends common/coding-style.md with Perl-specific content.
use v5.36 (enables strict, warnings, say, subroutine signatures)@_ manuallysay over print with explicit newlinesis => 'ro' and Types::Standard for all attributeshas attributes with builder or default are acceptable for computed read-only valuesUse perltidy with these settings:
-i=4 # 4-space indent
-l=100 # 100 char line length
-ce # cuddled else
-bar # opening brace always right
Use perlcritic at severity 3 with themes: core, pbp, security.
perlcritic --severity 3 --theme 'core || pbp || security' lib/
See skill: perl-patterns for comprehensive modern Perl idioms and best practices.