use strict;
use WWW::Mechanize;
my $mech = WWW::Mechanize->new();
$mech->get("http://www.google.com");
print $mech->content();
##
While trying to retrieve the URL:
http://www.google.com
The following error was encountered:
##
ERROR
Cache Access Denied
Sorry, you are not currently allowed to request:
http://www.google.comfrom this cache until you have authenticated yourself.
You need to use Netscape version 2.0 or greater, or Microsoft Internet Explorer 3.0, or an HTTP/1.1 compliant browser for this to work. Please contact the cache administrator if you have difficulties authenticating yourself or change your default password.