in reply to Re: How to connect to raw socketin thread How to connect to raw socket
It looks like the Socket, IO::Socket, or Net::RawIP may be useful modules.
I would also look at the Perldocs for perlipc, socket, and connect.