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: 20659
Status: resolved
Priority: 0/
Queue: Perl-Critic

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

Bug Information
Severity: Normal
Broken in: 0.18
Fixed in: 0.18_01



Subject: __END__ statement considered "unreachable"
Just an FYI, I added two failing tests. P::C was incorrectly finding things that had no runtime effect and declaring that they were unreachable. Examples are: exit; our %memoization_cache; exit; __END__ exit; __END__ The next is a marginal case. my() has a runtime effect but the user of this (me!) never cares because the compile-time effect is all I'm after. If my() is the only thing that is runnable then it's likely that the my() isn't meant to be runnable. exit; my %memoization_cache Josh