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

Need to specify -warn_target_loaded as false in most cases #1

Open
jwrightecs opened this issue Mar 18, 2024 · 1 comment
Open

Need to specify -warn_target_loaded as false in most cases #1

jwrightecs opened this issue Mar 18, 2024 · 1 comment

Comments

@jwrightecs
Copy link

in most cases we find that Carp is already loaded, so we get the following message

Carp is loaded before Module::Patch, this is not recommended since Carp might export subs before Module::Patch gets the chance to patch them at /usr/local/share/perl/5.34.0/Module/Patch.pm line 99.

despite this warning the patch appears effective. Adding -warn_target_loaded as false removes the warning, and should either be mentioned in the doc as recommended, or set to false by default

@perlancar
Copy link
Owner

perlancar commented Apr 17, 2024

Sensible enough, implemented in commit fcaca1c.

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

No branches or pull requests

2 participants