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

I have a question about using the CPAN shell. I ran
i DBD::Google
and got useful results indicating module description and author. Then I ran
install DBD:Google
and was informed that the module does not exist on CPAN. I tried
i DBD::Google
again and the second time it indicated that the module wasn't found.

I can find it consistently on search.cpan.org.

My guess is that none of my registered repositories contain it. But I can't find anything in the help output from cpan shell about how to add repositories to my search path.

Can anyone enlighten me? Maybe I'm not looking in the right place for this info?

Thanks very much! -Roy

Replies are listed 'Best First'.
Re: CPAN Repositories
by Fletch (Bishop) on Apr 27, 2004 at 02:42 UTC

    Look in the CPAN docs for o conf urllist.

Re: CPAN Repositories
by eserte (Deacon) on Apr 27, 2004 at 09:19 UTC
    If you look at the module information from CPAN.pm, you got the following:
    Module id = DBD::Google
        DESCRIPTION  Treat Google as a DBI datasource
        CPAN_USERID  DARREN (Darren Chamberlain <darren@cpan.org>)
        CPAN_VERSION undef
        CPAN_FILE    Contact Author Darren Chamberlain <darren@cpan.org>
        DSLI_STATUS  bdpO (beta,developer,perl,object-oriented)
        INST_FILE    (not installed)
    
    Normally CPAN_FILE should be a relative path to the file distribution on CPAN. It seems that something got wrong while indexing the distribution. It's best to contact the author about the fact --- maybe he has just to make a new release to fix the problem.
Re: CPAN Repositories
by jacques (Priest) on Apr 27, 2004 at 01:20 UTC
    To add repositories, you can do a fresh reconfig of your cpan module. I think you can also specify respositories on the commandline.

    If all else fails you can just download it (via http) from the search.cpan.org site.

Re: CPAN Repositories
by chanio (Priest) on Apr 27, 2004 at 04:11 UTC
    Besides, in LINUX cpan is a command line. Inside of <cpan> you can type

    o conf init

    and you are going to be asked a lot of questions and if you just hit <Enter> you accept what is correctly proposed.

    But when you have to choose the mirrors you are very well guided through a complete list classified by continents, countries, and names. You can choose all what you want and build your special list.

    {\('v')/}
    _`(___)' __________________________