From owner-freebsd-questions Sun Nov 10 10: 0:19 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A83037B41E for ; Sun, 10 Nov 2002 10:00:18 -0800 (PST) Received: from grummit.biaix.org (213-97-212-86.uc.nombres.ttd.es [213.97.212.86]) by mx1.FreeBSD.org (Postfix) with SMTP id 86B0A43E6E for ; Sun, 10 Nov 2002 10:00:13 -0800 (PST) (envelope-from joan@grummit.biaix.org) Received: (qmail 11998 invoked by uid 1000); 10 Nov 2002 17:59:17 -0000 Date: Sun, 10 Nov 2002 18:59:17 +0100 From: Joan Picanyol i Puig To: freebsd-questions@FreeBSD.ORG Subject: Re: trouble with perl writing to pipes :( Message-ID: <20021110175917.GA11841@grummit.biaix.org> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20021108094643.GA3590@grummit.biaix.org> <20021108114118.GA3823@happy-idiot-talk.infracaninophi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021108114118.GA3823@happy-idiot-talk.infracaninophi> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Matthew Seaman [20021108 12:40]: > On Fri, Nov 08, 2002 at 10:46:43AM +0100, Joan Picanyol i Puig wrote: > > I'm noticing some weird behaviour having perl writing to pipes (they eat > > my output): [...] > You may find that appropriate use of the $| special variable (or > equivalently the autoflush method of the IO::Handle object) suddenly > makes things work a lot better. Many thanks, hat did the trick > Hmmm... This only seems to affect perl-5.00503 --- perl-5.6.1 works > for me in the way you expect without any extra flushing. I believe it only affects perl on FreeBSD, but anyway... tks -- pica To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message