We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
META.json says dynamic_config => 0, but right there in the Makefile.PL, prereqs get added conditionally for Net::DNS and MSWin32 stuff.
dynamic_config => 0
This is easy to manage with Dist::Zilla (I gather you are familiar with it):
... your preferred bundle stuff goes here ... [DynamicPrereqs] :version = 0.018 -delimiter = | -body = |unless (eval 'require Net::DNS; 1;') { -body = | my $found_it; -body = | my $ns = 'nslookup'; -body = | foreach my $path (File::Spec->path) { -body = | my $file = File::Spec->catfile($path, $ns); -body = | $found_it = "$file.exe" if is_os('MSWin32') and -x "$file.exe" and !-d _; -body = | $found_it = $file if -x $file and !-d _; -body = | } -body = | $need_net_dns = ! $found_it; -body = |} -body = |requires('Net::DNS' => '0') if $need_net_dns; -body = |requires('IO::CaptureOutput' => '0') if !$need_net_dns and is_os('MSWin32', 'Cygwin');
The text was updated successfully, but these errors were encountered:
add 'dynamic_config' to the META info
64e95ce
For Perl-Email-Project#40, as part of the PR CPAN Challenge
10d5a38
For #40, as part of the PR CPAN Challenge
No branches or pull requests
META.json says
dynamic_config => 0
, but right there in the Makefile.PL, prereqs get added conditionally for Net::DNS and MSWin32 stuff.This is easy to manage with Dist::Zilla (I gather you are familiar with it):
The text was updated successfully, but these errors were encountered: