use ExtUtils::MakeMaker; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. eval { require Net::Pcap; }; if (! $@) { if (&Net::Pcap::lib_version() eq 'libpcap version unknown (pre 0.8)') { warn < 'Sniffer::HTTP', 'VERSION_FROM' => 'lib/Sniffer/HTTP.pm', # finds $VERSION 'PREREQ_PM' => { 'Class::Accessor' => 0, 'Class::Data::Inheritable' => 0, 'HTTP::Request' => 0, 'LWP::Simple' => 0, # for one test. Should be bundled with HTTP::Request anyway 'NetPacket::TCP' => 0, 'Net::Pcap' => 0.09, 'Exporter::Lite' => 0, }, # e.g., Module::Name => 1.1 ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/Sniffer/HTTP.pm', # retrieve abstract from module AUTHOR => 'Max Maischein ') : ()), ); 1;