in reply to Net::IRC::DCC 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}().