Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
petdance opened this issue Jan 23, 2020 · 1 comment

Comments

@petdance
Copy link
Member

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.

@petdance
Copy link
Member Author

petdance commented Mar 4, 2024

See also #9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant