flushing output in PERL
D. Duccini <duccini@backpack.com>
From: "D. Duccini" <duccini@backpack.com>
To: "J. Patrick Lanigan" <patl@satx.rr.com>
Cc: pgsql-novice@postgresql.org
Date: 2001-05-03T03:24:21Z
Lists: pgsql-novice
here ya go select((select($hdl), $| = 1)[0]); # this little magic line flushes file -duck On Wed, 2 May 2001, J. Patrick Lanigan wrote: > I am having a similar issue. How do you flush the buffer after each line in > perl? > > > D. Duccini wrote: > > > > PERL buffers its output -- you'll need to flush it after each line > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly > ----------------------------------------------------------------------------- david@backpack.com BackPack Software, Inc. www.backpack.com +1 651.645.7550 voice "Life is an Adventure. +1 651.645.9798 fax Don't forget your BackPack!" -----------------------------------------------------------------------------