This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[UTIL] Perl system does not default to $_
authorAaron Crane <arc@cpan.org>
Sat, 23 Apr 2016 10:30:54 +0000 (11:30 +0100)
committerAaron Crane <arc@cpan.org>
Sat, 23 Apr 2016 10:51:14 +0000 (11:51 +0100)
This doesn't actually affect anything, because no units have a ?MAKE rule
with any actions other than the "pick" pseudo-command. But it seems worth
fixing nonetheless.

bin/mconfig

index 0a49a38..3ce6c63 100755 (executable)
@@ -1250,7 +1250,7 @@ sub solve_dependencies {
                        # Ignore conditional symbol request
                } else {
                        chop;
-                       system;
+                       system $_;
                }
        }
        chdir($WD) || die "Can't chdir to $WD: $!.\n";