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

I try to run www::mechnize::shell with ActivePerl under Windows.
Installing the ppm Package was no problem.
But when I type "perl -MWWW::Mechanize::Shell -eshell" on the command line (cmd) nothing happens. I just see the normal prompt but not the shell...
Can anyone help me with this?
  • Comment on WWW::Mechanize::Shell - Shell does not run

Replies are listed 'Best First'.
Re: www::mechanize::shell
by Corion (Patriarch) on Sep 14, 2005 at 17:40 UTC

    Maybe you can help us out further by posting the version number of WWW::Mechanize::Shell and WWW::Mechanize, and maybe the relevant part of the session in the console window.

    You find the WWW::Mechanize::Shell version number via:

    perl -MWWW::Mechanize::Shell -e "die $WWW::Mechanize::Shell::VERSION" perl -MWWW::Mechanize -e "die $WWW::Mechanize::VERSION"
      Ok, here the relevant part of the command line...
      C:\>perl -MWWW::Mechanize::Shell -e "die $WWW::Mechanize::Shell::VERSI +ON" Died at -e line 1. C:\>perl -MWWW::Mechanize -e "die $WWW::Mechanize::VERSION" 0.72 at -e line 1. C:\>perl -MWWW::Mechanize::Shell -eshell C:\>

        Your installation of WWW::Mechanize::Shell is broken then.

        On my machine, it outputs the following:

        C:\>perl -MWWW::Mechanize::Shell -e "die $WWW::Mechanize::Shell::VERSI +ON" 0.36 at -e line 1.

        I can't help you any further except that you should maybe use CPAN.pm to install WWW::Mechanize::Shell instead of trying via ppm:

        perl -MCPAN -e "install WWW::Mechanize::Shell"

        That requires you to have a working nmake.exe installed though, which can be had from Microsoft.