On Thu, 29 Nov 2001, Forrest Cahoon wrote:

> Lack of documentation is driving me nuts!
> 
> All the references I can find point me to perlapio for information about
> dealing with Perl I/O inside of XS functions.  That's nice ... now how do I
> get one into or out of XS code?  That I can't find anywhere.
> 
> If I create an IO::File object in perl and pass it into my XS function, can
> I just cast the SV * into a PerlIO * and work with that?  Is that what I'm
> supposed to do?
> 
> If I create a PerlIO * in my XS code, do I pass it back to perl as an SV *?
> Is it blessed in some appropriate way?  What would it be, IO::Handle?
> 
> I also can't find any way to search the perl-xs archives ... I suspect this
> has been covered many times already.  Sorry about the probable repitition.
> 
> I really appreciate any help I might receive.

That makes two of us.  I couldn't find so much as a shred of documentation 
on this.  Even some example code would be better than nothing.

Steve


Reply via email to