Elliot Shank wrote:
David Golden wrote:
On Wed, Feb 27, 2008 at 6:52 PM, Elliot Shank <[EMAIL PROTECTED]> wrote:
Just stop using Bundles. Create Task:: distributions instead. No
funky handling necessary.
Can Task:: distributions cause the installer to upgrade to the latest
version of a module? I.e. the way we can install Bundle::CPAN to get
upgrades of all the modules listed in it?
Task:: distributions can do anything any other distribution can do. The
name "Task::" is just a convention.
Your module will usually simply consist of a package statement, a
$VERSION variable, and ye olde traditional "1;" at the end. The module
is really only a marker. The real action happens in your
Build.PL/Makefile.PL.
See Mr. Kennedy's writeup in
http://search.cpan.org/dist/Task/lib/Task.pm. He does things using
Module::Install, but you can use M::B or EU::MM just as well.
Actually, we use this at work to pull in all the code we want installed. We've
got a task distribution that depends upon all our other distros. Additionally,
it's got a bunch of tests in it that check that the environment being installed
into is set up correctly.