7 # symbolic filehandles should only result in glob entries with FH constructors
11 print "not " if defined(fileno($a)) or defined *{$a};
12 ++$test; print "ok $test\n";
15 print "not " if defined *{$a};
16 ++$test; print "ok $test\n";
18 print "not " if close $a or defined *{$a};
19 ++$test; print "ok $test\n";
21 print "not " unless open($a, ">&STDOUT") and defined *{$a};
22 ++$test; print $a "ok $test\n";
24 print "not " unless close $a;
25 ++$test; print $a "not "; print "ok $test\n";