Hi,
How can i make this CODE print just like terminal does ??
#!/usr/bin/perl -w use strict; print "Content-type: text/html\n\n"; my $i = 0; while($i < 10){ print "$i\n"; sleep(5); $i++; }
in the terminal it will print a number every 5 seconds .. but in the browser it will wait till the time ends then print all the numbers in the same time
Any help? Thanks so much.
In reply to Printing Like Terminal Does by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |