if( fileno(FH) ) { print FH "something" }