I have pasted this code in cgi-bin directory. when i tried to run throuth command prompt it first displays Hello then World with a sleep of 10 sec. In case of browser Hello and World are coming at once without any time delay. can anyone suggest me a method to how to flush the vales to the browse?????#!/usr/bin/perl use CGI; $| = 1; print "Content-type: text/html\n\n"; print "Hello"; sleep 10; print "World\n";
Edited by Chady -- code tags.
In reply to Query about Perl-CGI by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |