13 $x = `$Perl -le "print 'ok';"`;
15 if ($x eq "ok\n") {print "ok 1\n";} else {print "not ok 1\n";}
17 open(try,">Comp.script") || (die "Can't open temp file.");
18 print try 'print "ok\n";'; print try "\n";
21 $x = `$Perl Comp.script`;
23 if ($x eq "ok\n") {print "ok 2\n";} else {print "not ok 2\n";}
25 $x = `$Perl <Comp.script`;
27 if ($x eq "ok\n") {print "ok 3\n";} else {print "not ok 3\n";}
29 unlink 'Comp.script' || `/bin/rm -f Comp.script`;