Slash Boxes
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 ]

silent11 (2860)

  (email not shown publicly)

Journal of silent11 (2860)

Friday July 01, 2005
09:20 AM

CPANPLUS and installing lotsa modules at once

[ #25464 ]
I'm still getting my Linux box ready for development, and I've been installing a hella lota modules. I know CPANPLUS is already the easy way, but comon! There are like 40+ Net::Amazon modules and a ton for Template::* etc...

I tried CPAN Terminal> install Net::Amazon::* but that didn't work. After looking in the docs I noticed that CPANPLUS accepts install MODULE | NUMBER .... Which installs modules by name or by search number.

Still, knowing the search number wouldn't save me time. Then I thought , wouldn't it be cool if I could do something like install Net::Amazon 1..LAST_IN_SEARCH

Well I searched on Net::Amazon, found that 41 modules existed, and issued a i Net::Amazon 1..41 and do you know it WORKED!

This will save me soo much time, especially with the Template::* modules.

The only problem is that it wouldn't follow dependencies, which I do have CPANPLUS set up to do.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • A search for Net::Amazon distributions [] showed me only 5 distributions in total. In short: if you install Net::Amazon [], you install a bunch of others in the same distribution at the same time.

    5 distributions. That doesn't seem so unfeasable to me.

    Well, that doesn't mean you didn't discover a neat trick. You did.