Is there a beginners guide to using ExtUtils::XSpp? I am a little confused reading the POD of the module. I still can't figure out how to get started on using this module to consume C++ code. I guess, I'm looking for something like perlxstut, which starts with step 1 of generating the template.

I figured, a better place to start might be with the example but I am not sure if just directly building it (since Build.PL is provided) would help me understand how to use this module. But alas, that is not the case. It bails out on me with the error "Need ExtUtils::Typemap as argument". So I wasn't sure how to even use the example provided. And there is no README file provided with it to understand how to actually use it.

So, do I start by first creating the typemaps for each C++ class I have? What does xspp command generate? I think my confusion is so much, I don't even know what question to ask :(. Thanks for your help.


In reply to ExtUtils::XSpp usage for a novice by rovingeyes

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.