Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Is print faster than syswrite?

by ikegami (Patriarch)
on Jan 29, 2009 at 07:23 UTC ( [id://739798] : note . print w/replies, xml ) Need Help??


in reply to Re^2: Is print faster than syswrite?
in thread Is print faster than syswrite?

I know, I already said that. I wasn't making a general statement, I was talking about the variables in his program (STDOUT and FILE).

And that convoluted bit? That's how autoflush does it too. (Well, a slightly safer variation.) I prefer to use autoflush cause it's way more readable.

Replies are listed 'Best First'.
Re^4: Is print faster than syswrite?
by belg4mit (Prior) on Jan 30, 2009 at 03:47 UTC
    >I know, I already said that

    Aye. 5 minutes before I did (so please excuse the lag, it took me awhile to find the correct incantation), and in a different node :-P. The statement "$| = 1; only affects STDOUT, not FILE" doesn;t convey an understanding of this though, which was I mentioned it.

    --
    In Bob We Trust, All Others Bring Data.

      Oops, sorry, there was a much longer period between the time I wrote and the time I noticed your post.