flushing output in PERL - Mailing list pgsql-novice

From D. Duccini
Subject flushing output in PERL
Date
Msg-id Pine.GSO.4.03.10105022223420.19412-100000@ra.bpsi.net
Whole thread Raw
In response to RE: Strange INSERT phenomenon with key constraints  ("J. Patrick Lanigan" <patl@satx.rr.com>)
Responses input from a file  ("Stephen M. Ford" <sford@Eng.Auburn.EDU>)
List 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!"
-----------------------------------------------------------------------------


pgsql-novice by date:

Previous
From: Joel Burton
Date:
Subject: Re: Strange INSERT phenomenon with key constraints
Next
From: Lukas Ertl
Date:
Subject: Re: Strange INSERT phenomenon with key constraints