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

Greetings most knowledgable monks!
I'm trying to install dbi.pm on w2k server/(Active)PERL 5.6 but no matter which repository I try, get
C:\ ppm install http://............./DBI.ppd
installing.......
error.... : could not locate a PPD file for package.....
I have tried to download and copy the current DBI tar.gz, but it hits :
Can't locate loadable object for module DBI in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at C:/Perl/lib/DBI.pm line 254
on being run

Replies are listed 'Best First'.
Re: Problems with ppm install
by marto (Cardinal) on Sep 16, 2005 at 09:13 UTC
      many thanks!
      your wisdom saved the day! I think I misunderstood the way to run the ppm install command.
      I had read all the docs, but failed to spot ( blush) that 1) you don't need to specify the repository, 2) you don't look for the xxx.ppd file its-self, just the 'name'.
      'install dbi' worked instantly!!!

      NB: yes - I'm relatively new to PERL, having (mis)spent years with VBscript and ASP..... I'm learning ;)

        oops! didn't intend to reply anon. Please read the 'anon' reply as mine!
        I think you probably understood the way to run the command but had chosen the wrong URL. PPM can install modules from a specific URL in the way that you described its just that the URL has to be valid. You can also download zipped versions and install them locally.
Re: Problems with ppm install
by reneeb (Chaplain) on Sep 16, 2005 at 09:14 UTC
    try this way:
    C:>ppm ppm> search DBI [... list of DBI-packages ...] ppm> install <nr_of_package>
Re: Problems with ppm install
by sh1tn (Priest) on Sep 16, 2005 at 09:39 UTC
    Just add another repository (commands):
    rep add http://www.bribes.org/perl/ppm search DBI [1] ... [2] ... [3] ... install 1,2 # for example quit