in reply to help installing DBI

AFAIK, if you download modules from ActiveState, then you need to download the *.tar.gz that is specific to your version of Perl along with the *.ppd and then edit the *.ppd to point to change "http://....tar.gz" to something like "file://c:/...tar.gz" and then you can say "ppm DBI.ppd" and things should work (this is for getting around any number of web problems like ornery proxies, flaky servers, bad reverse DNS, etc.).

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: help installing DBI
by costas (Scribe) on Apr 04, 2001 at 21:41 UTC
    Excellent it worked.

    1)For my information, exactly why is the ppd needed at all.

    2)Is there a simple way i can check to see wether a module installed correctly. I looked through the perl/lib after installing DBI but could see no DBI.pm.

    3)Can i usee the PPM to check what modules i already have installed on my system.

    Sorry for repost, format on previous was unrecognisable

    Thanks

      1) Because that is the way ActiveState designed it? It allows PPM to pick which of several *.tar.gz files it needs to fetch based on what version of Perl you have. It records information about versions and dates of the packed-up modules so you don't have to download a huge *.tar.gz just to figure out what is inside.

      2) It will be in perl/site/lib/DBI.pm. This command: perl -MDBI -e "print $DBI::VERSION" shows what version of DBI you have installed and will complain if you have none.

      3) Yes. There is a help (or "?") command that lists the available commands. I don't have PPM handy so you'll have to go look yourself. (:

              - tye (but my friends call me "Tye")