[comp.lang.perl] weird behavour of system

jand@kuling.UUCP (Jan Dj{rv) (02/01/90)

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.