On Thu, Jun 19, 2003 at 01:37:09AM -0700 Ben Crane wrote: > Thanx, I hunting the info down now, seems quite > complex. I'm wondering whether it might not be better > to have a crack at this in C?
The difference between doing XS in C and in C++ isn't all that rough. See "Using XS With C++" in perlxs.pod. The Perl API however is C so it feels more natural doing it in C (but since I in general find C more natural than C++, I am slightly biased on that). > Have you found perlXS to be difficult to implement? Foremost it was fun which helped a lot over all the complexities and subtleties of XS. The hardest part is probably grokking the idiosyncratic XS documentation that lacks some vital things (typemaps, for instance, are explained nowehere). You get some useful examples in the two XS-cookbooks that you find at http://search.cpan.org/author/DMR/ They don't contain a lot of descriptive explanations (I think they even contain none at all) but still they are a great help. Other than that, perlxstut, perlguts, perlxs and perlapi will be the manpages you need. Roughly in this order save for perlapi.pod which is the reference for all the API functions and macros. Tassilo -- $_=q#",}])!JAPH!qq(tsuJ[{@"tnirp}3..0}_$;//::niam/s~=)]3[))_$-3(rellac(=_$({ pam{rekcahbus})(rekcah{lrePbus})(lreP{rehtonabus})!JAPH!qq(rehtona{tsuJbus#; $_=reverse,s+(?<=sub).+q#q!'"qq.\t$&."'!#+sexisexiixesixeseg;y~\n~~dddd;eval -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]