use ExtUtils::MakeMaker; my $warn_poe; eval "use POE;"; if( $@ or ( $POE::VERSION > 0.29 and $POE::VERSION < 0.37 ) ) { $warn_poe = 1; } if( $warn_poe ) { my $current = ''; if( $POE::VERSION ) { $current = "You currently have POE $POE::VERSION installed.\n"; } print < 'POE::Component::IKC', 'VERSION_FROM' => 'IKC/Responder.pm', # finds $VERSION DISTNAME => 'POE-Component-IKC', dist=>{COMPRESS=>'gzip -9f', EXT=>'gz'}, PREREQ_PM =>{ POE => 0.32, Scalar::Util => 1, }, );