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: 36782
Status: new
Priority: 0/
Queue: Perl-Critic-StricterSubs

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: warning from RequireExplicitInclusion on Glib subclass
Date: Mon, 16 Jun 2008 08:32:57 +1000
To: bug-Perl-Critic-StricterSubs [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
With perlcritic 1.084, strictersubs 0.03, and the debian packaged perl 5.10.0, the file foo.pm below run through perlcritic --single-policy=RequireExplicitInclusion foo.pm gets a warning Use of uninitialized value $package in exists at /usr/share/perl5/Perl/Critic/Policy/Modules/RequireExplicitInclusion.pm line 189. ("Glib::Object::Subclass" doesn't import anything, it sets you up to be a subclass of a given class. In this example the base Glib::Object, which must be specified in slightly bizarre "Glib::Object::" style.)

Message body is not shown because sender requested not to inline it.