Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018977]
help
Chatterbox?
[1nickt]: So if I was to offer any editorial advice it would be to (1) make it endure time passing (2) make it positive (3) make it about you and your beliefs
[1nickt]: (Disicpulus The new best choice is maybe "First People"
[karlgoethebier]: Discipulus: This is called "Volksverhetzung" in German which means
[karlgoethebier]: incitement of the people and it is prohibited by law
[1nickt]: The best sign I have sign in a protest march was carried by a kid of about 10 years "If you build a wall my generation will tear it down."
[1nickt]: ... sign I have seen ...
[1nickt]: Now that one made me hopeful! First time not angry in a long time when I saw that kid.
[Discipulus]: i propend for removing: why? because we are so few that we must find i minimal common divisor, this is certainly Perl not our (anyway private) thougths. And i say this still wondering because i love a lot freedom of expression. And i say this not for roho
[1nickt]: Discipulus that was the point of my story of taking the sticker off my truck. I know there are lots of people in the world who if I knw their private beliefs I might want to argue with them. And they with me. But life cannot all be arguments!
[1nickt]: This is less than perfect ... but demanding perfection (from people or from life) is a sure way to unhappiness.

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (9)
As of 2017-06-22 12:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (519 votes). Check out past polls.