in reply to Autoflush and web browsers (was: Clever autoflush detail)
#!/usr/bin/perl -w $|++; { print "Content-Type:text/html\n\n"; print "Autoflush is currently ".($|?"on":"off").".\n"; for ( 1..5 ) { print "Value is $_.\n"; sleep 1; } print "Autoflush is currently ".($|?"on":"off").".\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Clever autoflush detail
by Joost (Canon) on Jun 20, 2007 at 19:30 UTC |