http://qs321.pair.com?node_id=817158

biohisham has asked for the wisdom of the Perl Monks concerning the following question:

G'day dear monks, I have been using the Perl Package Manager utility, I find it easier and more effective than downloading a .zip version of a certain module and compiling it manually on my Windows XP, however, lately, after having installed BioPerl, which required configuring many repositories I started to notice that the ppm-terminal takes forever to perform its tasks because it goes downloading each one of these repositories packlists individually and this behavior is teasingly unnerving that even if I wanted to install a module right away the ppm terminal would still go ahead and check through all these steps "
ppm 4.05 (ActivePerl 1005) Copyright (C) 2009 ActiveState Software Inc. All rights reserved. ppm> search DB_File Downloading ActiveState Package Repository packlist...done Downloading BioPerl-Release Candidates packlist...redirect Downloading BioPerl-Release Candidates packlist...done Downloading BioPerl-Release Candidates BioPerl-DB PPD...not modified Downloading BioPerl-Release Candidates BioPerl-Network PPD...not modif +ied Downloading BioPerl-Release Candidates BioPerl-Run PPD...not modified Downloading BioPerl-Release Candidates BioPerl PPD...done Downloading BioPerl-Regular Releases packlist...not modified Downloading Kobes packlist...done Updating Kobes database...done Downloading Bribes packlist... 62%
"

This way, an otherwise simple few minutes job does take 15 minutes on average. My question is, can there possibly be anyways I can let the ppm bypass/circumvent these steps and go directly to do what I want it to do instead? (Read, downloading from a single repository and avoiding these unnecessary checks). Reading through the "Manage and search repositories" in ppm's help did not provide any insights and as you could see from the above snapshot, I was just searching for the module "DB_File", so going through all these steps in order to tell me that this module exists in "ActiveState Package Repository" is impractical..

1: Bundle-Tie-DB_File-SplitHash A bundle to install all Tie::DB_File::SplitHash related modules Version: 1.01 Released: 1999-06-18 Author: Benjamin Franz <snowhare@nihongo.org> Provide: Bundle::Tie::DB_File::SplitHash version 1.01 Repo: ActiveState Package Repository CPAN: http://search.cpan.org/dist/Bundle-Tie-DB_File-SplitHash-1.01 +/

UPDATE: Acting on the tip from Marshall I ran the PPM GUI and went to Edit|Preferences|Repositories and just disabled the repositories I did not want PPM to check by clicking on the small icons to the left and it just worked fine alright.

BrowserUk has provided a direct way to perform the same and to view the repositories tied to the PPM and enabling/disabling them in the ppm-shell environment itself.

Now both the ppm-shell and GUI are lighter and thunder-speed, thanks..


Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.