in reply to Can't use moduels by 'use' directive

See Net::Pcap. The functions are only exported on request. Either list them all on the use line, or import them all:

use Net::Pcap qw(:functions);

Replies are listed 'Best First'.
Re^2: Can't use moduels by 'use' directive
by PN33D0 (Initiate) on May 31, 2011 at 02:53 UTC
    Omg... Thank you very much Corion. I could bang my head at the wall that I didn't see this. To bad the example on that page is not complete.