Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rjbs (4671)

rjbs
  (email not shown publicly)
http://rjbs.manxome.org/
AOL IM: RicardoJBSignes (Add Buddy, Send Message)
Yahoo! ID: RicardoSignes (Add User, Send Message)

I'm a Perl coder living in Bethlehem, PA and working Philadelphia. I'm a philosopher and theologan by training, but I was shocked to learn upon my graduation that these skills don't have many associated careers. Now I write code.

Journal of rjbs (4671)

Thursday August 11, 2005
10:37 PM

bundles are awesome and suck

[ #26248 ]

John and I, both unhappy with the lack of awesome plugins on the Kwiki at work, made a list of what we wanted and got things installed. "Hey," I said, "I'll just make a Bundle!"

Bundles are a good idea. You make a list of stuff, call it a bundle, and it all gets installed at once.

The popular Bundle::Whatever implementation stinks, though. All the work is done by CPAN.pm or CPANPLUS, which is keyed to the Bundle namespace. If it sees that, it parses the POD, basically ignores the build file, and installs the modules. This is swell if you use CPAN.pm, but otherwise sort of sucks. Other people have noted this, before, at the monastery and elsewhere, but I hadn't paid it much mind until last night.

I mentioned something about this to Alias, who'd said something about disliking Bundles, and we griped together for a bit about how the prereq system should already make this work properly and how it was time to release Sack::O'Kwiki (or whatever) on an unsuspecting world.

As is usually the case, though, I mellowed with time and decided to look at existing knowledge on the subject. I've found that this is yet another place where I should just be using Module::Install. After specifying what your module needs, you can just say, "Oh, and bundle it all for installation" or "If it's not there, use CPAN to get it when needed" or other things.

I think I may skip Module::Build and go right to Module::Install. This means Module::Starter will get Module::Install support, and that hopefully I will get around to making it handle arbitrary new files.

I will probably not carry out my threat to implement the non-simple Module::Starter engine as Module::Starter::Spoon.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Last time I looked, the really annoying thing about bundles was that they ignore any version numbers which are present. The documentation says that the second field is a version number, but when you try to install it, CPAN always picks the latest version. Very annoying, that.

    -Dom

    • Yeah, that is pretty weird. If you look at the code, it just throws the rest of the line away. Odd to even make the claim, then...
      --
      rjbs