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

Use warnings 20201010 #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jkeenan
Copy link

@jkeenan jkeenan commented Oct 10, 2020

These patches will ensure that this distribution runs warnings-free in an environment where warnings may be on by default.

Thank you very much.
Jim Keenan

@@ -16,7 +17,7 @@ use_ok('File::Fetch');
$File::Fetch::DEBUG = $File::Fetch::DEBUG = 1 if $ARGV[0];
$IPC::Cmd::DEBUG = $IPC::Cmd::DEBUG = 1 if $ARGV[0];

$File::Fetch::FORCEIPV4=1;
{ no warnings 'once'; $File::Fetch::FORCEIPV4=1; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous line shows another mechanism for suppressing the warning, which could also be used here for consistency.

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

Successfully merging this pull request may close these issues.

2 participants