6 require Config; import Config;
7 if ($Config{'extensions'} !~ /\bFileHandle\b/ && $^O ne 'VMS') {
16 $mystdout = new_from_fd FileHandle 1,"w";
21 print $mystdout "ok ",fileno($mystdout),"\n";
23 $fh = new FileHandle "TEST", O_RDONLY and print "ok 2\n";
25 print $buffer eq "#!./perl\n" ? "ok 3\n" : "not ok 3\n";
28 CORE::read($fh, $buf,1);
29 print $buf eq 'A' ? "ok 4\n" : "not ok 4\n";