Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 browsing the Monastery: (10)
As of 2014-10-01 11:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (9 votes), past polls