in reply to Re^3: why isn't split() working here?
in thread why isn't split() working here?

PerlIO::via/PerlIO::eol

Replies are listed 'Best First'.
Re^5: why isn't split() working here?
by ikegami (Patriarch) on Dec 09, 2010 at 16:08 UTC

    ::via is not relevant if the module is already written. It's also missing some key functionality relating to buffering, so I recommend writing layers in XS instead.

    Thanks for pointing out :eol, though. This had come up recently on p5p, and noone mentioned it was already written.

    It's quite unfortunate that it requires a different configuration for input handles than for output handles. It prevents its use as a default layer.