http://qs321.pair.com?node_id=533665


in reply to Re^2: is filehandler used ?
in thread is filehandler used ?

any idea of the diff between yours and mine? I've always used *HANDLE:
use strict; use warnings; open(OUT, ">test.txt") or die "Can't open file to write, $!."; if(defined fileno *OUT){ print "File handle is valid."; }else{ print "Nope."; } close OUT;