This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Can't right now twist my brain to figure out
[perl5.git] / lib / subs.t
index 2f684b4..a98dd1d 100644 (file)
@@ -47,11 +47,13 @@ for (@prgs){
     print TEST $prog,"\n";
     close TEST;
     my $results = $Is_VMS ?
-                  `./perl $switch $tmpfile 2>&1` :
+                     `./perl $switch $tmpfile 2>&1` :
                  $Is_MSWin32 ?
-                  `.\\perl -I../lib $switch $tmpfile 2>&1` :
+                     `.\\perl -I../lib $switch $tmpfile 2>&1` :
                  $Is_NetWare ?
-                  `perl -I../lib $switch $tmpfile 2>&1` :
+                     `perl -I../lib $switch $tmpfile 2>&1` :
+                 $Is_MacOS ?
+                     `$^X -I::lib -MMac::err=unix $switch $tmpfile` :
                   `./perl $switch $tmpfile 2>&1`;
     my $status = $?;
     $results =~ s/\n+$//;