On Thu, 29 Nov 2001 at 22:38:47 -0600, Greg Bacon wrote:
> In message <[EMAIL PROTECTED]>,
> Dmitry Kohmanyuk =?KOI8-R?B?5M3J1NLJyiDrz8jNwc7Ayw==?= writes:
> : On Thu, Nov 29, 2001 at 06:20:37PM -0500, Michael G Schwern wrote:
> : > Does the "read from the front and back" trick qualify as one or two
> : > passes?
> : I think there is terminology confusion here -
> : a file (in Unix) is random-access array of bytes, which
> : can be opened multiple times, seeked into any position (relative
> : to beginning, current, or end), read and written.
Indeed so, and to back this up, you'll find this in your Perl library:
package IO::File;
...
@ISA = qw(IO::Handle IO::Seekable Exporter);
So a File is Seekable. So are some other things, maybe. Hmm... what?
Ian