View on
MetaCPAN
Andy Lester > Perl-Critic > Perl::Critic::Policy::ControlStructures::ProhibitYadaOperator

Download:
Perl-Critic-1.130.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 1.130   Source  

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.

syntax highlighting: