in reply to Re^2: Really, really suffering from buffering
in thread Really, really suffering from buffering
And since stdio has its own ideas about buffering, I guess the safest thing to do is calling fflush() as you did. All that with much handwaving, since I'm not proficient with C.
I remember having read remarks and caveats wrt to stdio, and advice to use the PerlIO layer instead. Sorry for being too lazy to delve into docs/sources to bring up those bits... maybe another monk has them present? - thanks ;)
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Really, really suffering from buffering
by syphilis (Archbishop) on Nov 20, 2007 at 00:14 UTC | |
by BrowserUk (Patriarch) on Nov 20, 2007 at 03:05 UTC | |
by syphilis (Archbishop) on Nov 22, 2007 at 06:06 UTC | |
by BrowserUk (Patriarch) on Nov 22, 2007 at 07:27 UTC |