5 $x = `$^X -le "print 'ok';"`;
7 if ($x eq "ok\n") {print "ok 1\n";} else {print "not ok 1\n";}
9 open(try,">Comp.script") || (die "Can't open temp file.");
10 print try 'print "ok\n";'; print try "\n";
13 $x = `$^X Comp.script`;
15 if ($x eq "ok\n") {print "ok 2\n";} else {print "not ok 2\n";}
17 $x = `$^X <Comp.script`;
19 if ($x eq "ok\n") {print "ok 3\n";} else {print "not ok 3\n";}
21 unlink 'Comp.script' || `/bin/rm -f Comp.script`;