5 BEGIN { @INC = '../lib' }
6 require English; import English;
8 print $PID == $$ ? "ok 1\n" : "not ok 1\n";
11 print $MAGIC == $_ ? "ok 2\n" : "not ok 2\n";
14 print $ARG[0] == $_[0] ? "ok 3\n" : "not ok 3\n";
18 $MAGIC = "ok 4\nok 5\nok 6\n";
20 print $PREMATCH, $MATCH, $POSTMATCH;
25 undef $OUTPUT_FIELD_SEPARATOR;
27 $LIST_SEPARATOR = "\n";
28 @foo = ("ok 8", "ok 9");
30 undef $OUTPUT_RECORD_SEPARATOR;
32 eval 'no such function';
33 print "ok 10\n" if $EVAL_ERROR =~ /method/;
35 print $UID == $< ? "ok 11\n" : "not ok 11\n";
36 print $GID == $( ? "ok 12\n" : "not ok 12\n";
37 print $EUID == $> ? "ok 13\n" : "not ok 13\n";
38 print $EGID == $) ? "ok 14\n" : "not ok 14\n";
40 print $PROGRAM_NAME == $0 ? "ok 15\n" : "not ok 15\n";
41 print $BASETIME == $^T ? "ok 16\n" : "not ok 16\n";