If you really want to switch autoflush on, you can use $|++, but perhaps think of local-izing it so the effects are limited to the block or scope it is in.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law