[JaxPM] autoflush

Steve Lane sml at zfx.com
Fri Jan 4 12:07:53 CST 2002


On the jacksonville-pm-list; Jax.PM'er Steve Lane <sml at zfx.com> wrote -

Greg Sabino Mullane wrote:
> 
> On the jacksonville-pm-list; Jax.PM'er "Greg Sabino Mullane" <greg at turnstep.com> wrote -
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> >> While still not totally unbuffered, this is way
> >> better than the default. :)
> > how so?  are there not any circumstances when buffering
> > is preferable to not buffering?
> 
> As I said, it merely changes the buffering from
> "when it reaches x bytes" to "whenever I send it something."
> There may be circumstances where buffering is desired,
> but, IMO, 99% of the scripts in the world do not need
> the default buffering, hence my opinionated "way better"
> statement.

well IMO, 99% of the scripts in the world do not
need non-buffering, with .cgi scripts being
the main exception.  however, i'm sure that many
scripts would break, or at least not function
as intended, if the default behaviour was changed
from buffer to non-buffer.  so i don't see any positive
whatsoever in changing the default behaviour from
buffered to non-buffered.  it's just fine the way it is.
 
> > what does autochomp have to do with buffering?
> 
> Nothing. I was just pointing out a neat feature of perl 6
> that applies to file handles.

ok, that's what i thought.
--
Steve Lane <sml at zfx.com>

Jax.PM Moderator's Note:
This message was posted to the Jacksonville Perl Monger's Group listserv.
The group manager can be reached at -- owner-jacksonville-pm-list at pm.org
to whom send all praises, complaints, or comments...




More information about the Jacksonville-pm mailing list