# # Makefile.PL for Net-Dict # # $Id: Makefile.PL,v 1.2 2003/05/05 23:56:17 neilb Exp $ # use ExtUtils::MakeMaker; my $DEFAULT_HOST = 'test.dict.org'; my $DEFAULT_PORT = 2628; $test_config_file = 't/test_host.cfg'; print < 'Net::Dict', DISTNAME => 'Net-Dict', VERSION_FROM => 'lib/Net/Dict.pm', PREREQ_PM => { 'IO::Socket' => 0, 'Net::Cmd' => 0, 'Carp' => 0, }, AUTHOR => 'Neil Bowers ', ABSTRACT_FROM => 'lib/Net/Dict.pod', dist => {COMPRESS => 'gzip', SUFFIX => 'gz'}, ); sub configure_testsuite { my ($host, $port); print < $test_config_file") || die "failed to write $test_config_file: $!\n"; print CFGFILE <