Your CPAN test results weren't that bad, so looking at CPAN again, it seems that you could be missing some dependencies. WWW::Mechanize has a slough of dependencies that must be installed or updated. One dependency that always bothers me is HTTP::Server::Simple. I've always had to force install it.

Here's a cpan script to install and upgrade the dependencies:

#!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->install( "Tree::DAG_Node", "Test::Warn", "WWW::RobotRules", "HTTP::Cookies", "Net::FTP", "Net::HTTP", "Digest::base", "Digest::MD5", "HTTP::Negotiate", "File::Listing", "LWP::UserAgent", "HTML::Form", "HTTP::Daemon", "Test", "Text::Wrap", "Pod::Escapes", "Pod::Simple", "Pod::Man", "ExtUtils::MakeMaker", "HTTP::Server::Simple", "Time::Local", "HTTP::Date", "MIME::Base64", "URI", "Encode", "Encode::Locale", "LWP::MediaTypes", "Compress::Raw::Bzip2", "Compress::Raw::Zlib", "IO::Uncompress::Inflate", "HTTP::Status", "ExtUtils::ParseXS", "Module::CoreList", "Module::Load", "Params::Check", "Module::Load::Conditional", "Locale::Maketext::Simple", "IPC::Cmd", "ExtUtils::CBuilder", "Perl::OSType", "IO::Dir", "Version::Requirements", "Exporter", "CPAN::Meta::YAML", "JSON::PP", "Parse::CPAN::Meta", "CPAN::Meta", "Scalar::Util", "File::Spec", "File::Temp", "version", "Module::Metadata", "Module::Build", "HTML::Tagset", "XSLoader", "HTML::Parser", "Sub::Uplevel", "Test::Exception", "HTML::TreeBuilder", "Test::Harness", "Test::More", "Pod::Usage", "WWW::Mechanize");

In reply to Re: Hell of a time installing module WWW::Mechanize by Khen1950fx
in thread Hell of a time installing module WWW::Mechanize by cat_baby

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.