note
zwon
<p>It depends on what do you mean by <em>filehandle is in fact STDOUT</em>. E.g. consider the following:
<c>
$ perl -E'open my $foo, "<&=1"; say $foo->fileno; say $foo == \*STDOUT ? "STDOUT" : "Not STDOUT"'
1
Not STDOUT
</c>
1011032
1011032