Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 81714
Status: new
Priority: 0/
Queue: Perl-Critic-StricterSubs

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

Bug Information
Severity: Normal
Broken in: 0.03
Fixed in: (no value)



Subject: Perl::Critic::Policy::Modules::RequireExplicitInclusion false positive with use_ok()
echo 'use Test::More; use_ok("My::Module"); My::Module::func;' | perlcritic --single Modules::RequireExplicitInclusion Use of "My::Module::func" without including "My::Module" at line 1, column 39. Without importing a package, it is unlikely that references to things inside it even exist. (Severity: 4) echo 'use Test::More; use_ok("My::Module", qw( foo bar )); My::Module::func;' | perlcritic --single Modules::RequireExplicitInclusion Use of "My::Module::func" without including "My::Module" at line 1, column 54. Without importing a package, it is unlikely that references to things inside it even exist. (Severity: 4)