Hi This script is taking 3*2 secs time and then printing the output in the browser at once, help re
#!C:/perl/bin/perl.exe use warnings; use strict; use CGI;
You can set $| = 1; to flush the output buffer with each print, but it looks like Apache will wait for the script to finish running before returning anything, so you might need to move your sleep logic into client side JavaScript.
$| = 1;