- Run `perlcritic --stern script.pl` to enforce Perl Best Practices — configure severity and policies in `.perlcriticrc`.
- Use `perltidy -pro=.perltidyrc` to auto-format Perl files — commit `.perltidyrc` to ensure team-wide consistent formatting.
- Use `perl -c script.pl` for syntax checking before committing — it runs without executing the script.
- Configure `.perlcriticrc` with `severity = 4` to enforce most policies without blocking on cosmetic level-5 violations.
- Use `perltidy` settings: `--indent-columns=4 --maximum-line-length=100 --opening-brace-on-new-line` for readable formatting.
- Add `perlcritic` to the CI pipeline using `Test::Perl::Critic` in a `t/critic.t` test file — it integrates with `prove`.
- Use `Perl::Critic::Policy::ValuesAndExpressions::ProhibitMagicNumbers` to flag hardcoded numeric literals.