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 " unless defined *{$a};
16 ++$test; print "ok $test\n";
19 print "not " if close $a or defined *{$a};
20 ++$test; print "ok $test\n";
22 print "not " unless open($a, ">&STDOUT") and defined *{$a};
23 ++$test; print $a "ok $test\n";
25 print "not " unless close $a;
26 ++$test; print $a "not "; print "ok $test\n";