in reply to UDP Listener / Server

IO::Socket::INET is a handy interface to create the socket.

If you have multiple server sockets, IO::Select will allow you to wait them.

recv will allow you to receive from the socket.

You might need unpack to extract the data from the packet.

Encode's decode will translate strings of bytes into strings of characters.