Net::Frame::Dump is the base class for all dump modules. With them, you can open a device for live capture, for offline analysis, or for creating a pcap file. WWW: https://metacpan.org/release/Net-Frame-Dump