Index: WWW-Mechanize-1.12/Makefile.PL --- WWW-Mechanize-1.12/Makefile.PL.orig 2005-06-12 16:16:53 +0200 +++ WWW-Mechanize-1.12/Makefile.PL 2005-06-12 16:20:23 +0200 @@ -6,46 +6,7 @@ use constant FLAG_SKIPMECHDUMP => File::Spec->catfile( "t", "SKIP-MECH-DUMP" ); -# Much logic stolen fromm libwww-perl's Makefile.PL -my $skiplive = grep /--nolive/i, @ARGV; -my $skiplocal = grep /--nolocal/i, @ARGV; - -if ( !$skiplive ) { - require IO::Socket; - my $s = IO::Socket::INET->new( - PeerAddr => "www.google.com:80", - Timeout => 10, - ); - if ($s) { - close($s); - $skiplive = 0; - - print <catfile( 't', '*.t' ); -push( @tests, glob File::Spec->catfile( 't', 'local', '*.t' ) ) unless $skiplocal; -push( @tests, glob File::Spec->catfile( 't', 'live', '*.t' ) ) unless $skiplive; my $parms = { 'NAME' => 'WWW::Mechanize', @@ -85,33 +46,4 @@ touch(); } -eval { require LWP; }; -if ($@ or ! LWP::Protocol::implementor('https') ) { - print <