http://qs1969.pair.com?node_id=1175132


in reply to How to subclass IO::Handle to properly get a low level file handle without having a file or memory?

Why not use a tied handle instead?

Tying FileHandles

Dave.

  • Comment on Re: How to subclass IO::Handle to properly get a low level file handle without having a file or memory?

Replies are listed 'Best First'.
Re^2: How to subclass IO::Handle to properly get a low level file handle without having a file or memory? (XS)
by tye (Sage) on Nov 03, 2016 at 04:25 UTC

    I doubt that would work for most XS code (or even external libraries that XS thunks to), which seems likely to be part of some of the scenarios mentioned.

    - tye