Well, I know nothing about Net::Pcap module. But pcap (libpcap and winpcap) is a packet capture library. It only captures/grabs packets, and has no capability to craft them. I think you need a different module.

Peace always,
<jdenny>