Perl Best Practices (2025)

: Throw exceptions using croak or die instead of returning special "failure" values like undef .

: Design a module's interface (API) first by "play-testing" examples of how it will be used. Perl Best Practices

Consistency is more important than any single style choice. Automated tools help enforce these standards: : Throw exceptions using croak or die instead

: Use Perl::Tidy to automatically format code, ensuring all team members use the same indentation and bracket styles. Perl Best Practices