The return value from
select() is the
previously selected filehandle. Therefore $fh is actually STDOUT (i.e. the filehandle that
was hot before the select), so when you
select($fh) you are back with STDOUT as your Currently-Selected-Filehandle. Does that make sense?
-Blake