As someone who has written XS code with Perl and used the Python C API to create modules, I have to say that the Python mechanisms seem much slicker. Python's
distutils is so easy to use, I really wish there was a Perl equivalent ("
so write one": if only I had the time). You could argue that
ExtUtils::MakeMaker is an equivalent, but that is a generation behind
distutils.
As usual I have learnt a lot from the comments on this node from others. I wonder if one of the reasons why the Perl module installation process is so unfriendly might simply be that there is a lack of knowledge of the tools available (or maybe that's just me?). There are so many ways to do it in Perl, but most just want the
best way, and need that to be in the main documentation and be accessible. OK, so we have
perlnewmod and its ilk, and that gives us the kind of user experience that
hermida is complaining about.
Right now a Perl author has to look hard for the best way to create a distribution, with Python you are given it.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.