>>>>> "Paul" == Paul <[EMAIL PROTECTED]> writes:
>> No. there's always a primary mode for the open, and that isn't
>> affected by the +. For <, the file must exist. For >>, every write
>> is at the end of file, for >, the file is truncated. The "+" merely
>> means that once the file is opened, both reading and writing are
>> possible on the same handle.
Paul> Though on our machine (if I remember correctly), it won't let you write
Paul> to anywhere but the end of the file, since it's in append mode, even if
Paul> you seek to the beginning before you write. You can read from wherever
Paul> you like, but writes are always reset to the end of the file.
Paul> I thought it was odd, but I've seen crazier specs. =o)
I think I said that. Are you saying something different?
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!