3 # $Header: comp.script,v 3.0 89/10/18 15:25:55 lwall Locked $
7 $x = `./perl -e 'print "ok\n";'`;
9 if ($x eq "ok\n") {print "ok 1\n";} else {print "not ok 1\n";}
11 open(try,">Comp.script") || (die "Can't open temp file.");
12 print try 'print "ok\n";'; print try "\n";
15 $x = `./perl Comp.script`;
17 if ($x eq "ok\n") {print "ok 2\n";} else {print "not ok 2\n";}
19 $x = `./perl <Comp.script`;
21 if ($x eq "ok\n") {print "ok 3\n";} else {print "not ok 3\n";}
23 `/bin/rm -f Comp.script`;