in reply to "Undefined subroutine &main::pcap_lookupdev called" yet module installed and PERL5LIB is set correctly : *(

Try Net::Pcap::pcap_lookupdev()
  • Comment on Re: "Undefined subroutine &main::pcap_lookupdev called" yet module installed and PERL5LIB is set correctly : *(

Replies are listed 'Best First'.
Re^2: "Undefined subroutine &main::pcap_lookupdev called" yet module installed and PERL5LIB is set correctly : *(
by stevehicks (Sexton) on Jun 10, 2009 at 14:31 UTC
    Hi Thanks. When I try that though I get :
    [mddev@mdsaln01:~/mdscripts/bin] $ ./pcapTest.pl pcap_lookupdev is not a valid pcap macro at ./pcapTest.pl line 7 [mddev@mdsaln01:~/mdscripts/bin] $