D-0 has asked for the wisdom of the Perl Monks concerning the following question:
You might try the documentation of Net::IRC::DCC or Net::IRC.
From a quick look at the perldoc, it says it handles chat/get/send requests are created with Connection->new_{chat,get,send}().