From: | "D(dot) Duccini" <duccini(at)backpack(dot)com> |
---|---|
To: | "J(dot) Patrick Lanigan" <patl(at)satx(dot)rr(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | flushing output in PERL |
Date: | 2001-05-03 03:24:21 |
Message-ID: | Pine.GSO.4.03.10105022223420.19412-100000@ra.bpsi.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
-----------------------------------------------------------------------------
david(at)backpack(dot)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!"
-----------------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Lukas Ertl | 2001-05-03 07:21:48 | Re: Strange INSERT phenomenon with key constraints |
Previous Message | ghaverla | 2001-05-02 22:56:15 | Re: Strange INSERT phenomenon with key constraints |