# Net::IRC sucks use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. exit 0 if $ENV{AUTOMATED_TESTING}; my $ok = 'I acknowledge that Net::IRC is unsupported and I wish to proceed.'; my $warning = <); die "Refusing to install due to lack of confirmation" unless $acceptance eq $ok; WriteMakefile( 'NAME' => 'Net::IRC', 'PM' => { 'IRC.pm' => '$(INST_LIBDIR)/IRC.pm', 'Connection.pm' => '$(INST_LIBDIR)/IRC/Connection.pm', 'Event.pm' => '$(INST_LIBDIR)/IRC/Event.pm', 'DCC.pm' => '$(INST_LIBDIR)/IRC/DCC.pm', 'EventQueue.pm' => '$(INST_LIBDIR)/IRC/EventQueue.pm', 'Entry.pm' => '$(INST_LIBDIR)/IRC/EventQueue/Entry.pm', }, 'PREREQ_PM' => { 'IO::Select' => 0, 'Carp' => 0, 'Socket' => 0, 'IO::File' => 0, 'IO::Socket' => 0, 'Sys::Hostname' => 0, }, 'VERSION_FROM' => 'IRC.pm', # finds $VERSION 'dist' => { 'COMPRESS' => 'gzip --best' }, );