in reply to "Undefined subroutine &main::pcap_lookupdev called" yet module installed and PERL5LIB is set correctly : *(
The Synopsis is misleading. Net::Pcap only exports some constants by default, no functions. Try
use Net::Pcap qw( :functions );
|
|---|
| 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:36 UTC | |
by ikegami (Patriarch) on Jun 10, 2009 at 15:11 UTC | |
by stevehicks (Sexton) on Jun 10, 2009 at 17:55 UTC | |
by ikegami (Patriarch) on Jun 10, 2009 at 18:09 UTC | |
by stevehicks (Sexton) on Jun 10, 2009 at 19:11 UTC | |
|