How can I print text immediately without waiting for a newline in Perl?
Posted
by synapz
on Stack Overflow
See other posts from Stack Overflow
or by synapz
Published on 2010-03-12T16:59:02Z
Indexed on
2010/03/17
3:21 UTC
Read the original article
Hit count: 242
I have a computationally expensive task in perl, and would like to inform the user that computation is ongoing by printing out a period after each portion of the computation is completed. Unfortunately, until I print a "\n", none of my periods are printed. How can I address this?
© Stack Overflow or respective owner