|
|
| go ahead... be a heretic | |
| PerlMonks |
Why is this script not giving real-time output to browser?by punch_card_don (Curate) |
| on Feb 10, 2005 at 12:42 UTC ( [id://429829]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.punch_card_don has asked for the wisdom of the Perl Monks concerning the following question:
Madcap Monks,
I often write small scripts to do simple processing to large files (~1Gb and ~18-million lines). These scripts are launched from a link on an admin web page, so I usually include a print statement to show progress. Running the script below, I expected to see ", $respondent" fill my screen repeatedly as the script went through the file. Instead, the browser just sat there until it timed out and gave me its default timeout message "Server Error". I know, by looking at the files in questin, that the script is still running and doing its job. Why do the prints not print in real time? Thanks.
Forget that fear of gravity,
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||