in reply to IO::Select vs select function

For the path you're travelling, Lincoln Stein's Network Programming with Perl is a good companion. He goes into some detail about how to do non-blocking sockets with TCP, and may provide useful hints on how they can be done with UDP.