in reply to How to install a DarkPAN module?

For the CPAN program, cpan, the magic is cpan . where you've unpacked the tarball, see Integrating Local Directories. The unpack step is not included. It would be nice to point cpan at a directory full of tarballs and it would go and unpack+install all of them, and I guess a patch to implement that would be welcome.

Replies are listed 'Best First'.
Re^2: How to install a DarkPAN module?
by Anonymous Monk on Jan 28, 2009 at 14:31 UTC

    I like that solution very much, thanks a million for it. Just two commands and no configuration required.

    According to the CPAN Changes file, the feature is available with 1.88_55, and 5.8.8 ships with only 1.76_02, so I guess I have to either require perl 5.010 or have the end user upgrade CPAN first.

Re^2: How to install a DarkPAN module?
by DrHyde (Prior) on Jan 29, 2009 at 11:25 UTC
    Or you could run a local CPAN mirror with your packages added to it, using CPAN::Mini and CPAN::Mini::Inject. This is what we do at work, as it makes things so much easier for people to use exactly the same interface as they're already used to for installing modules.