Nicholas Clark <[EMAIL PROTECTED]> writes: > On Fri, Sep 05, 2003 at 05:24:48PM +0200, Juergen Boemmels wrote: > > * Add an layer-argument to PIO_open and PIO_fdopen, which walk the > > layerstack and search for the Open-implementation. The current > > implentation of PIO_open with the default layer should be > > renamed to PIO_open_default. > > What is the layer stack? That term doesn't seem to be defined anywhere.
The documentation of ParrotIO is uhm... suboptimal. ParrotIO uses handles IO request via layers. Each request is handled either directly by the layer or the request is passed down to the next layer. The layer stack is something that is associated with an io-handle. > (OK, I can make a guess based on what perl 5.8 is doing) > > I can see why one would have a layer stack on an open file handle, but > doesn't open crate file handles? Or is the action of "open" something that > happens after file handle construction (hence there can be a stack by open > time)? Open and fdopen create an IO-handle. But currently this IO-handle has always the current default layer (stack) associated with it, which is an interpreter-variable. There should be a possiblity of opening a file on a different layer. > Nicholas Clark bye boe -- Juergen Boemmels [EMAIL PROTECTED] Fachbereich Physik Tel: ++49-(0)631-205-2817 Universitaet Kaiserslautern Fax: ++49-(0)631-205-3906 PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F 23 F6 C7 2F 85 93 DD 47