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.