in reply to Re: PerlIO, random write file access and O_CREAT (sysopen)
in thread PerlIO, random write file access and O_CREAT
I thought sysopen can't be mixes with print/read, as buffered IO and unbuffered cannot be mixed? And I mentioned that I don't want to use syswrite
Or sysopen is not about unbuffered IO (in opposite to syswrite) ?
(Note that your code still unconditionally truncates the file each time.)Ok, could you please example why? First file open mode is append, and second is read (read/write)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: PerlIO, random write file access and O_CREAT (sysopen)
by tye (Sage) on May 29, 2013 at 15:58 UTC | |
by vsespb (Chaplain) on May 29, 2013 at 15:59 UTC |