Help for this page
sub flush { my $h = select($_[0]); my $af=$|; $|=1; $|=$af; select($h); ... autoflush(*FILE, 0); autoflush(\*FILE, 0); autoflush($fh, 0);
# Flush immediately without turning auto-flush on: $io->flush(); ... # Turn auto-flush off: $io->autoflush(0);