use inc::Module::Install; my $GOT_DNS; BEGIN { $GOT_DNS = 0; eval { require POE::Component::Client::DNS; $GOT_DNS = 1 if $POE::Component::Client::DNS::VERSION >= 0.99; }; } print <'; version_from 'lib/POE/Component/IRC.pm'; abstract_from 'lib/POE/Component/IRC.pm'; build_requires 'Test::More' => '0.47'; requires 'warnings' => 0; requires 'POE' => 0.3202; requires 'POE::Filter::IRCD' => 1.7; requires 'Carp' => 0; requires 'Socket' => 0; requires 'POSIX' => 0; tests 't/*.t t/*/*.t'; clean_files 'README.send'; WriteAll(); exit 0; sub _no_dns { print <