#!./perl
# $RCSfile: term.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:07 $
BEGIN {
chdir 't' if -d 't';
}
print "1..7\n";
# check "" interpretation
$x = "\n";
else {print "not ok 1\n";}
# check `` processing
# check $#array
$x[0] = 'foo';
$x[1] = 'foo';
$tmp = $#x;
print "#3\t:$tmp: == :1:\n";
if ($#x == '1') {print "ok 3\n";} else {print "not ok 3\n";}
# check numeric literal
$x = 1;
if ($x == '1') {print "ok 4\n";} else {print "not ok 4\n";}
$x = '1E2';
if (($x | 1) == 101) {print "ok 5\n";} else {print "not ok 5\n";}
# check <> pseudoliteral
} else {
}
print "ok 6\n";
}
else {
print "not ok 6\n";
}