This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate macperl changes from Chris Nandor:
[perl5.git] / lib / strict.t
index 6067ad3..3a0a2ec 100644 (file)
@@ -69,11 +69,11 @@ for (@prgs){
     print TEST $prog,"\n";
     close TEST;
     my $results = $Is_MSWin32 ?
     print TEST $prog,"\n";
     close TEST;
     my $results = $Is_MSWin32 ?
-                  `.\\perl -I../lib $switch $tmpfile 2>&1` :
-                  $^O eq 'MacOS' ?
-                  `$^X -I::lib $switch $tmpfile` :
+                     `.\\perl -I../lib $switch $tmpfile 2>&1` :
                   $^O eq 'NetWare' ?
                   $^O eq 'NetWare' ?
-                  `perl -I../lib $switch $tmpfile 2>&1` :
+                     `perl -I../lib $switch $tmpfile 2>&1` :
+                  $^O eq 'MacOS' ?
+                     `$^X -I::lib -MMac::err=unix $switch $tmpfile` :
                   `./perl $switch $tmpfile 2>&1`;
     my $status = $?;
     $results =~ s/\n+$//;
                   `./perl $switch $tmpfile 2>&1`;
     my $status = $?;
     $results =~ s/\n+$//;