in reply to Re: check if a filehandle is STDOUT when using use strict;
in thread check if a filehandle is STDOUT when using use strict;

I can assume that it gets assigned the value of \*STDOUT I.E. $file= \*STDOUT ;