Search results for "module:Perl::Critic::Policy::ControlStructures::ProhibitUnreachableCode"

Perl::Critic::Policy::ControlStructures::ProhibitUnreachableCode - Don't write code after an unconditional die, exit, or next. River stage three • 131 direct dependents • 386 total dependents

This policy prohibits code following a statement which unconditionally alters the program flow. This includes calls to "exit", "die", "return", "next", "last" and "goto". Due to common usage, "croak" and "confess" from Carp are also included. Code is...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Policy::Catalyst::ProhibitUnreachableCode - Don't write code after an unconditional Catalyst detach. River stage one • 1 direct dependent • 1 total dependent

This module was forked from Perl::Critic::Policy::ControlStructures::ProhibitUnreachableCode version 1.132 and modified to fit. The primary difference is this module looks for these two Catalyst specific bits of code as signifying a terminating state...

BLUEFEET/Perl-Critic-Policy-Catalyst-ProhibitUnreachableCode-0.02 - 12 May 2019 14:56:57 UTC
2 results (0.159 seconds)