Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 15233
Status: resolved
Priority: 0/
Queue: Perl-Critic

People
Owner: thaljef [...] cpan.org
Requestors: thaljef [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.12
Fixed in: 0.13



Subject: Allow postfix 'if' with die, croak, etc.
Functions such as C<die> and C<croak> are commonly used as flow-control statements. Thus, it makes sense to permit these with a postfix 'if' statement. Also, C<warn> and <confess> are frequently used with a postfix 'if', though they are not really flow-controls.