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

Greetings most gracious of monks.

I'm having a little trouble getting WWW::Mechanize installed in Active State Perl 5.10. Specifically, I can't see it in the PPM GUI.

I've added a second ActiveState repository, where I initially installed it however it still doesn't show up.

Is it just something stupid like "You can't install Perl 5.8 packages on 5.10" (My dev instance is 5.8.8, prod is 5.10)

Help. :(

Much thanks in advance.

Replies are listed 'Best First'.
Re: PPM For windows
by moritz (Cardinal) on Oct 07, 2008 at 13:36 UTC
    Did it ever occur to you that "You can't install Perl 5.8 packages on 5.10" is not something stupid, but a useful error message? Maybe you are really trying to install a WWW::Mechanize PPM that was built for 5.8, and not 5.10?

    Maybe you can try the ppm packages from trouchelle.com.

Re: PPM For windows
by marto (Cardinal) on Oct 07, 2008 at 13:41 UTC
    Stupid error messages eh? Telling you what the problem is ;)

    You need to use a 5.10 repository for your production Perl, see 5.10 ppm repository for Win32 for example. Also I would advise running the same version of Perl in development as you do in production.

    Martin
Re: PPM For windows
by jand (Friar) on Oct 07, 2008 at 18:12 UTC
    The latest ActivePerl releases for 5.8 and 5.10 already contain WWW::Mechanize; there is no need to install it separately.