in reply to perl udp broadcast

Your English isn't very clear, but I think that you're looking for something like IO::Socket::INET. Here's an example of a server and a client by zentara that uses IO::Socket::INET.