This is probably more of a rant’n’rave than anything else but for the sake of a longer read I’m pretending it’s an open ended question sort of thingy… :)

In my short year or three of perl abuse, I, like many newbies, have tripped over the bewildering complexity that is the installable perl module.
While I feel a little more relaxed these days when I’m faced with that most confusing of acronyms, CPAN, I can’t help but get the feeling that I’m signing a pact with the little green devil of ‘programmer-centric laziness’.
Every time I consult that great CPAN oracle in the sky, the same few questions keep plaguing me:
- Does this module have any quirky dependencies?
- Will it play nicely with my Perl 5.??.??? system (with that funny patch over there and this little hack over here…)
- Are other support programs required? (compilers etc)

At this point many folk are likely to slap me up the back of the head and raise all the same issues currently thundering around the RPM/tar/deb communities. To them I say “But Wait!!”.

I’m (wildly) guestimating that 90% of users around 90% of the time could safely be categorised as the ‘I just want the darn installed’ type of Perl installers.
In this situation, your average installer couldn’t care less about the last 13 decimal places on the version label of obscure-unmentionable.pm. He/She/It just wants a few simple things:
- A Red Light/Green Light on whether its ‘100% Pure Perl’ code.
- How much will needed to be downloaded?
- And a big button labelled ‘Install’.

And Nothing else.

All the ‘spangly technical stuff’ doesn’t matter.
- Security? Ha! When was the last time you even came close to hand checking a pm for backdoors, trojans etc?
- Unauthorised distributions? Once again: When was the last time you bothered to go out and get all of those funky public keys and certificates for checking? And who exactly were you trusting when you did it?
- Configurability? Oh please… We’re talking about a funky dynamic interpreted language here. What in heavens name can’t be fiddled with * after * the installation?

If you’re the remaining 10% of 10% that want all of those spangly features then you more than welcome to play around with those ‘interesting’ command line parameters… but don’t force the rest of us to.
“Okay big mouth” you (rather rudely) reply.
“You’ve successfully spotted the same faults everybody on the planet has for the billionth time. Congratulations! What’s your solution?”
Well I’m not suggesting the dismemberment of CPAN or anything ugly like that you’ll be happy to hear.

Merely the adoption of a few new things:

A generic ‘vaguely intelligent’ installer – A program that can auto-install dependencies, give guestimates on bandwidth requirements for installation, spot possible system short falls (eg. Where’s lynx?) etc…

A generic package description file – An XML style file that indicates to installers like the aforementioned things like whether it’s 100% Pure Perl, internal and system dependencies etc.

A few more seals – A set of easily identifiable logos on services like CPAN to show clearly indicate in a ‘Dummies guide to..’ style the same things listed in the package description file.

I realise Perls history and usage tends to set it apart from other languages but that’s no reason not to pick up a few good ideas from them.

I think that about does it for this rant.. er.. discussion. I’m note sure whether my pultry few XP can stand up to too much editorial voting but hopefully it’ll spark some cheery chap out there to at least consider writing such a beast. :)

Thank you for your eyeball time.


In reply to The Camel Seal by lzcd

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.