This is a complex question. Perl is written in C so does this for you all the time to allow you to use files. Have a look at perlman:perlxs and perlman:perlguts for a free overview of all the nitty gritty. There is a new Manning book on Perl and C in the works but this will be a few months probably. If you search this site for 'XS' you will find some interesting threads that may be helpful.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Passing a filehandle from C to perl
by tachyon
in thread Passing a filehandle from C to perl
by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |