http://www.perlmonks.org?node_id=861649


in reply to Re^2: Sockets / IRC
in thread Sockets / IRC

If you really want to do it yourself, I'd recommend using IO::Select, which even has a example in the documentation. Keep in mind that you'll need to implement the relevant RFCS.

The easy way out is to use POE or AnyEvent::IRC::Client.