Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Answer: How to flush output to the console?

by Anonymous Monk
on Dec 01, 2003 at 09:37 UTC ( #311199=categorized answer: print w/replies, xml ) Need Help??

Q&A > input and output > How to flush output to the console? - Answer contributed by Anonymous Monk

Turn on autoflush in a BEGIN block:

BEGIN { $| = 1 }

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2017-01-16 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (151 votes). Check out past polls.