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

When we try to install WWW::Mechanize using the command "install www::mechanize", we get an error saying that too many result found. We just want to install (see below) the first option (Bolded). Pls let us know how do we install the first option. Advance thanks for your help.

ppm> install www::mechanize
Searching for 'www::mechanize' returned multiple results. Using 'search' instead ... Searching in Active Repositories

1. WWW-Mechanize 0.72 Handy web browsing in a Perl object

2. WWW-Mechanize-FormFiller 0.05 framework to automate HTML forms
3. WWW-Mechanize-Shell 0.19 A crude shell for WWW::Mechanize

Replies are listed 'Best First'.
Re: WWW::Mechanize error
by prasadbabu (Prior) on Mar 30, 2006 at 15:11 UTC

    If you searched using 'search' option, you will be getting multiple results as shown below. From that, you just note the serial number for the module which you required and just type that number as shown below

    ppm>search wwww::mechanize 1. WWW-Mechanize [0.72] Handy web browsing in a Perl obje +ct 2. WWW-Mechanize-FormFiller [0.05] framework to automate HTML forms 3. WWW-Mechanize-Shell [0.19] A crude shell for WWW::Mechanize

    After this, if you want to install first module, type install 1.

    ppm>install 1

    or even simply,

    ppm>i 1

    Also take a look at holli's excellent node A guide to installing modules for Win32

    Prasad

Re: WWW::Mechanize error
by blm (Hermit) on Mar 31, 2006 at 09:24 UTC

    I have also found that

    ppm> install WWW-Mechanize

    ie with a dash instead of :: works.