Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: Creating a new module with an XS submodule

by Anonymous Monk
on Feb 15, 2013 at 20:57 UTC ( #1018977=note: print w/replies, xml ) Need Help??

in reply to Re^2: Creating a new module with an XS submodule
in thread Creating a new module with an XS submodule

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,

  • Comment on Re^3: Creating a new module with an XS submodule

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018977]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2018-03-19 00:04 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (231 votes). Check out past polls.