Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: How to disable buffering ?

by targetsmart (Curate)
on Jun 03, 2009 at 06:42 UTC ( #767909=note: print w/replies, xml ) Need Help??

in reply to How to disable buffering ?

well said by lakshmananindia ++

Why do you do select everytime on filehandles and then set $| to true, that is not a good idea
you can use IO::Handle or FileHandle modules to open the files and set autoflush on that handle to true, that will avoid using select everytime on different handles and setting $|=1

Instead of flushing the buffer can't we disable the buffering itself ?
buffering is our friend, saves a lot of time for us, so don't think our disabling buffering

-- In accordance with the prarabdha of each, the One whose function it is to ordain makes each to act. What will not happen will never happen, whatever effort one may put forth. And what will happen will not fail to happen, however much one may seek to prevent it. This is certain. The part of wisdom therefore is to stay quiet.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://767909]
[stevieb]: yeah. This is my build/test software that manipulates perlbrew/ berrybrew, and runs all unit tests of a project against all installed versions, including testing a dist against all of it's current revdeps. A lot of tests it runs for itself:)
[stevieb]: testing the test build system, essentially

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2017-03-26 22:10 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (315 votes). Check out past polls.