# New Ticket Created by "Paul Cochrane" # Please include the string: [perl #40598] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40598 >
Hi, this patch ensures that when t/codingstd/perlcritic.t can't find Test::Perl::Critic, that instead of exiting with a "Can't locate Test/Perl/Critic.pm in @INC" compile-time error, it reports that it is skipping the test with the message defined in perlcritic.t. One can't use C<require> in this case as the C<use> call needs to pass an argument to the package if Test::Perl::Critic is found. Comments welcome, Paul files affected: t/codingstd/perlcritic.t
perlcritic_t.patch
Description: Binary data