Skip to content

Make Modules::RequireExplicitInclusion know that "use parent 'foo'" and "use base 'foo'" bring in the module #13

@petdance

Description

@petdance

I have many modules like this:

package User;

use parent 'MyDB::Base';

my $x = MyDB::Base->somefunc();

which then causes Modules::RequireExplicitInclusion to complain about Use of "MyDB::Base" without including "MyDB::Base". It has been included by being use parented.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions