in reply to Global filehandles?
It would be easier to help if we could see some code. Are sure that you didn't make a lexical filehandle?
i.e. open(my $fh, ">logfile")
...or did you localize the filehandle, 'local IN', ?
In Section
Seekers of Perl Wisdom