in reply to Inconsistency in PPM "search" and "install"

I think (but am not 100% sure) that because you got multiple matches for your search, you need to be specific about which one you want, ie:
install 1

Anyway, that works for me:

ppm> search List-MoreUtils Searching in Active Repositories 1. List-MoreUtils [0.21] Provide the stuff missing in List::Util 2. List-MoreUtils [0.21] List-MoreUtils 3. List-MoreUtils [0.16] Provide the stuff missing in List::Util 4. List-MoreUtils [0.16] Provide the stuff missing in List::Util ppm> install 1 Package 1: ==================== Install 'List-MoreUtils' version 0.21 in ActivePerl 5.8.7.813. ==================== Downloaded 38527 bytes. Extracting 9/9: blib/arch/auto/List/MoreUtils/MoreUtils.lib Installing C:\Perl\site\lib\auto\List\MoreUtils\MoreUtils.bs Installing C:\Perl\site\lib\auto\List\MoreUtils\MoreUtils.dll Installing C:\Perl\site\lib\auto\List\MoreUtils\MoreUtils.exp Installing C:\Perl\site\lib\auto\List\MoreUtils\MoreUtils.lib Installing C:\Perl\html\site\lib\List\MoreUtils.html Files found in blib\arch: installing files in blib\lib into architectu +re depende nt library tree Installing C:\Perl\site\lib\List\MoreUtils.pm Successfully installed List-MoreUtils version 0.21 in ActivePerl 5.8.7 +.813.

Cheers,
Darren :)

Replies are listed 'Best First'.
Re^2: Inconsistency in PPM "search" and "install"
by rodion (Chaplain) on Aug 21, 2006 at 10:07 UTC
    I got only the two copies of version 0.21 when I tried typed in the search, and in that case using an "install List-MoreUtils" command as the next entry worked fine. I agree that that's not the way to do the install command. (Too much typing for me.)
      " I got only the two copies of version 0.21 when I tried typed in the search.."

      That's probably because you have less active repositories configured than I do. I have 4, I think the default is 2. You can see which repositories are configured (and active) by issuing the rep[ository] command, ie:

      ppm> rep Repositories: [1] ActiveState PPM2 Repository [2] ActiveState Package Repository [3] UW_Winnepeg [4] Kobes [ ] Winnepeg2
      "I agree that that's not the way to do the install command."

      Well, there are several ways to install using ppm - it's just easier after a search to install by number. You can also install by a range of numbers, or a URL. "help install" from the ppm command-line gives the full low-down.

      Cheers,
      Darren :)