Scroll to navigation

Perl::Critic::Policy::ControlStructures::ProhibitYadaOperator(3pm) User Contributed Perl Documentation Perl::Critic::Policy::ControlStructures::ProhibitYadaOperator(3pm)

NAME

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

AFFILIATION

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

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.

CONFIGURATION

This Policy is not configurable except for the standard options.

AUTHOR

Alan Berndt <alan@eatabrick.org>

COPYRIGHT

Copyright (c) 2015-2017 Alan Berndt. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.

2023-10-27 perl v5.36.0