Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!bmc!kuling!jand From: jand@kuling.UUCP (Jan Dj{rv) Newsgroups: comp.lang.perl Subject: Re: weird behavour of system("uudecode", "t") Message-ID: <1380@kuling.UUCP> Date: 1 Feb 90 10:29:41 GMT References: <9158@ditmela.oz> Reply-To: jand@kuling.UUCP (Jan Dj{rv) Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 13 In article <9158@ditmela.oz> worsley@ditmela.oz (Andrew Worsley) writes: : : Is there anything that anyone knows of system in perl which could cause : a command to produce a truncated file? : [description and code deleted] : : Hmm, usually perl buffers it's output. You need probably only add a close(out) before you do the uudecode. An alternative is to set $| = 1; (or something non-zero) to make output unbuffered. Jan D.