http://qs321.pair.com?node_id=530466


in reply to Autoflush $|?

Are you closing your filehandles? $| only applies to the currently selected filehandle, not to all filehandles.

One indicator of this problem is a "suspicious filesize" -- is the created file a multiple of e.g. 8k?