Skip site navigation (1) Skip section navigation (2)

flushing output in PERL

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
here ya go

   select((select($hdl), $| = 1)[0]);      # this little magic line flushes file


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.
+1 651.645.7550 voice       "Life is an Adventure.    
+1 651.645.9798 fax            Don't forget your BackPack!"   

In response to


pgsql-novice by date

Next:From: Lukas ErtlDate: 2001-05-03 07:21:48
Subject: Re: Strange INSERT phenomenon with key constraints
Previous:From: ghaverlaDate: 2001-05-02 22:56:15
Subject: Re: Strange INSERT phenomenon with key constraints

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group