abachus has asked for the wisdom of the Perl Monks concerning the following question:
I have a quick question :
When reading from a handle, with say sysread(), if the call returns 0 bytes read, is this a reliable indication that the handle pointer (for want of better terminology) is at EOF ?
many thanks,
Isaac.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: is 0 bytes read EOF ?
by blue_cowdawg (Monsignor) on Sep 11, 2006 at 21:26 UTC | |
|
Re: is 0 bytes read EOF ?
by friedo (Prior) on Sep 11, 2006 at 21:28 UTC | |
|
Re: is 0 bytes read EOF ?
by GrandFather (Saint) on Sep 11, 2006 at 21:30 UTC | |
by abachus (Monk) on Sep 12, 2006 at 13:19 UTC |