in reply to XS filehandle/descriptor conversions and cleanup
Check the standard compression support included with perl: Compress::Raw::Bzip2, IO::Compress::Bzip2, etc. The raw module implements buffer to buffer routines; higher level routines operate on streams. Neither wants file descriptors, which really belong to OS level of abstraction.
|
|---|