Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
[shmem]: they are too close to each other
[shmem]: J.S.Bach said: "playing Clavier is darn easy. All you have to do is to push the right key with the right finger at the right time."
[shmem]: same for programming and creating bugs.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2017-04-27 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (508 votes). Check out past polls.