Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Perl::Critic::Policy::ControlStructures::ProhibitYadaOperator - Never use "..." in production code.

Affiliation

       This Policy is part of the core Perl::Critic distribution.

Author

       Alan Berndt <alan@eatabrick.org>

Configuration

       This Policy is not configurable except for the standard options.

Description

       The yada operator "..." is not something you'd want in production code because it will throw an exception
       when executed.  However, it is perfectly useful in less critical environments as a placeholder for code
       not yet implemented.

Name

       Perl::Critic::Policy::ControlStructures::ProhibitYadaOperator - Never use "..." in production code.

See Also