in reply to Re: Not printing to file, but print to screen okin thread Not printing to file, but print to screen ok
Maybe also check the close
close FH or warn "close failed!"; [download]
(close only returns true if IO buffers were successfully flushed)