All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

Err, no. In fact I haven't read that! I made myself acquainted with XS using the perlxstut from 5.6.1. I didn't know there was a new one.

It seems to have one more example. Incidentally it's one dealing with filehandles which is what I will need very soon. That's certainly an improvement!

But the Typemap section is still too thin. It still does not mention the special symbols $var, $arg and $type. I'd love to be able to say perldoc perltypemap and get a concise description of what a typemap file is really for and perhaps one example how it is used to turn a C-struct into a Perl object.

But I don't want to give the wrong impression here: perldocs dealing with XS aren't that bad at all (and perlxstut was enough to get me going with MP3::Mplib in a sort of baby-XS). But they require more experience and patience from their readers than the other perldocs solely dealing with the language Perl.

(BTW. you know that patches are welcome. A perltypemap man page would be interesting.;-)

It was only yesterday that I had my first succesful use of a typemap (which was actually copied from Dean Roehrich). A little too thin yet for supplying documentation.;-)

But I am not at all lazy when it comes to Perl and I'll be the first one to write such a beast if I feel ready. I expect to gain some familiarity with all that soon. Also, when looking at the typemaps available I see a slightly different subset of m