Paul Moore <Paul.Moore@uk.origin-it.com> writes: >> > >> >Just looking in the docs, it's interesting to note that perlapio.pod >> >explains all about PerlIO, but nowhere explains how to get a >> >PerlIO* from a SV*. I can crib the code from c/unix_io.c for this, >> >though. >> >> Maybe because it is in perlguts.pod ... >> >> Be careful to get right PerlIO from the GV - it has two for sockets. > >Not in my copy (5.6.0 RC3)... > >C:\DATA>egrep "PerlIO|FILE" \Applications\Perl\lib\Pod\perlguts.pod So it isn't - there is no discussion of sv_2io() or IoIFP()/IoOFP() anywhere in the pods. Just a cryptic typemap entry in lib/ExtUtils/typemap - and only for FILE * not PerlIO (which is what it is going to get). >=head2 PerlIO >was compiled with. All XSUBs should now use the functions in the PerlIO >For a complete description of the PerlIO abstraction, consult L<perlapio>. > >grepping on all the pods for PerlIO reveals only this and perlapio. Grepping >for FILE gets some more hits, but none relevant... > >Paul. -- Nick Ing-Simmons