Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Answer: How to flush output to the console?

( #20591=categorized answer: print w/ replies, xml ) Need Help??

Q&A > input and output > How to flush output to the console? contributed by QandAEditors

Turn on "autoflush":

$|++;
Put this just after your #!/.../perl line.

Comment on Answer: How to flush output to the console?
Select or Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2014-10-25 17:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (146 votes), past polls