Fair enough. However, shouldn't the rest of the opcodes with an IO object as their parameter be methods as well? Its not a lot of ops, but it would trim down the core a bit.
They should -- it'll make it easier to abstract things out later when people start wanting to do bizarre things with pseudo-filehandles.
On Thu, 2004-11-25 at 08:00 +0100, Leopold Toetsch wrote:> $I0 = $P0."eof"()Brian Wheeler <[EMAIL PROTECTED]> wrote: > I noticed a hole in the io.ops where the PIO stuff wasn't covered. This > patch creates an eof opcode which checks for end of file.
Please just use the "eof" method of the PIO object:
-- Dan
--------------------------------------it's like this------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk