You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would appreciate if an IO::Handle class could be created from a file descriptor.
From what i saw, the "native-descriptor" method from IO::Handle can do the reverse operation.
This last method is handled by nqp, which in turn gets it from moarvm (it is call "fileno_fh" in moar).
Most of the work would probably be done in moarvm.
This kind of work would help design proper IO::Handles -inherited classes when one only gets a file descriptor as an input.
Exemple :
IO::Pty would be constructed via the posix_openpt method. This method only returns a file descriptor.
Migrated from rt.perl.org#127725 (status was 'new')
Searchable as RT127725$
The text was updated successfully, but these errors were encountered: