in reply to Re^4: "Undefined subroutine &main::pcap_lookupdev called" yet module installed and PERL5LIB is set correctly : *(
in thread "Undefined subroutine &main::pcap_lookupdev called" yet module installed and PERL5LIB is set correctly : *(
The PERL interpreter can clearly find the module but doesn't like the subroutines that it is supposed to be exporting.
Perl (the language) and perl (the interpreter) have nothing to do with exporting (it's all up to the module), and the subs weren't supposed to be exported until you used :functions. Your problem with :functions is different, even though it results in the same error message.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: "Undefined subroutine &main::pcap_lookupdev called" yet module installed and PERL5LIB is set correctly : *(
by stevehicks (Sexton) on Jun 10, 2009 at 19:11 UTC | |
by Khen1950fx (Canon) on Jun 10, 2009 at 19:40 UTC | |
by stevehicks (Sexton) on Jun 10, 2009 at 20:32 UTC | |
by Anonymous Monk on Jun 11, 2009 at 04:39 UTC | |
by Khen1950fx (Canon) on Jun 11, 2009 at 06:28 UTC | |
|