I know about Inline::C, I've used it in the past, but I don't see how it could help me here...

Inline::C creates a perl module with \.xs files, just look at the build directory

My question was more about module organization, anyway...Would you care to elaborate on that?

Not really :)

A module is a package you can use or require, a namespace associated with a file. To create a module name your file to match your namespace(package)

What all these tools do is create some files, copy some boilerplate -- they don't really help you create a new module, esp .xs module

but however you start ( module-starter/ h2xs / dzil, whatever), adding more modules is just a matter of copy/pasting some files where you need them

Unless you're creating a lot of modules very often (hundreds), most of these tools aren't worth the learning curve, they just get in the way -- they're not wizards, they're for wizards

If you're interested, I offer you ?node_id=3989;HIT=module;re=N;Tu;M,


In reply to Re^3: Creating a new module with an XS submodule by Anonymous Monk
in thread Creating a new module with an XS submodule by kikuchiyo

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.