Wow, thanks. That answers my question perfectly. Incidentally that article is the first thing that appears on Google when I search for even the generic "perl buffering". Had I known that "buffering" was the proper term for the behavior I was seeing I could have found that article on my own.