I'm trying to implement an encryption layer using PerlIO (in C, not using PerlIO::via). Is it correct that I shouldn't provide yet another line discipline like PerlIO::encoding, but a completely new lowest layer (like the "unix" layer) which happens to use another file handle in its implementation? After all, the encryption layer is completely opaque as far as line translation, buffering etc. are concerned, and there doesn't seem to be a more direct way to encode this in the PerlIO abstraction.
-- Florian Weimer <[EMAIL PROTECTED]> BFK edv-consulting GmbH http://www.bfk.de/ Durlacher Allee 47 tel: +49-721-96201-1 D-76131 Karlsruhe fax: +49-721-96201-99