Chip Salzenberg <chip@pobox.com>: > According to Mark-Jason Dominus: > > $rec = <FH>; > > but that implies some sort of buffering, and the buffering confounds > > concurrent access. > > You could resort to sysread/syswrite/sysseek and just Not Do That > (wrt readline). Back on 28 May, I had said: >> I thought my choices were >> >> a) use setvbuf() to discard the buffer, perhaps temporarily, or >> >> b) discard the buffered I/O system entirely and rewrite everything in >> terms of sysread(), effectively reimplementing the entire buffered I/O >> subsystem in Perl. >> >> But now it appears that my only choice is (b). This isn't very >> attractive. Is there some other option I've overlooked? >> What you appear to be suggesting is (b). Have I missed something?Thread Previous | Thread Next