use ExtUtils::MakeMaker qw( WriteMakefile prompt ); use ExtUtils::Command qw( touch rm_f ); use File::Spec; use strict; # Essentially a clone of WWW::Mech's Makefile.PL. my $runlive = grep /--runlive/i, @ARGV; my $skiplocal = grep /--skiplocal/i, @ARGV; my $runtaint = grep /--runtaint/i, @ARGV; if ( $runtaint ) { print <new( PeerAddr => "www.google.com:80", Timeout => 10, ); if ($s) { close($s); $runlive = 1; print <catfile( 't', '*.t' ); push( @tests, glob File::Spec->catfile( 't', 'local', '*.t' ) ) unless $skiplocal; push( @tests, glob File::Spec->catfile( 't', 'live', '*.t' ) ) if $runlive; push( @tests, glob File::Spec->catfile( 't', ($runtaint ? 'taint':'notaint'), '*.t' ) ); my $parms = { 'NAME' => 'WWW::Mechanize::Pluggable', 'VERSION_FROM' => 'lib/WWW/Mechanize/Pluggable.pm', # finds $VERSION 'ABSTRACT_FROM' => 'lib/WWW/Mechanize/Pluggable.pm', # retrieve abstract from module 'AUTHOR' => 'Joe McMahon ', 'PREREQ_PM' => { 'Carp' => 0, 'File::Temp' => 0, 'FindBin' => 0, 'HTML::Form' => 1.038, 'HTML::HeadParser' => 0, 'HTML::TokeParser' => 2.28, 'HTTP::Daemon' => 0, 'HTTP::Request' => 1.30, 'HTTP::Status' => 0, 'LWP' => 5.76, 'LWP::UserAgent' => 2.024, 'Module::Pluggable' => 0, 'Test::More' => 0.34, 'Test::Exception' => 0.20, 'URI' => 1.25, 'URI::URL' => 0, 'URI::file' => 0, 'WWW::Mechanize' => 1.12, 'Data::Dump::Streamer' => 0, }, test => { TESTS => join( " ", @tests ) }, clean => { FILES => join( " ",'WWW-Mechanize-0*' ) }, }; eval { require LWP; }; if ($@ or ! LWP::Protocol::implementor('https') ) { print <