We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 590e36f commit 5cca900Copy full SHA for 5cca900
Makefile.PL
@@ -447,7 +447,7 @@ my %watchers = (
447
# check if dependency is wanted and/or available
448
if (exists $watchers{$^O} && ! $ENV{PERL_FNS_NO_OPT}) {
449
if ($native_watcher) { $watchdeps = $watchers{$^O}; }
450
- elsif (!eval "require $watchers{$^O}->[0]; return 1;") {
+ elsif (!eval { require $watchers{$^O}->[0]; return 1; }) {
451
warn "Consider installing $watchers{$^O}->[0]\n";
452
warn "Or configure with `--native-watcher` option\n";
453
}
0 commit comments