The DreamHost policy on persistent processes (under which CGI::IRC qualifies since it is not meant to be used through a shell) is located here:
What is your persistent (background) process policy?
As you can see, it says IRC is strictly prohibited. In the TOS it says
"The customer agrees to make use of DreamHost Webhosting servers primarily for the purpose of hosting a website, and associated email functions. Servers are shared with other customers, and as such IRC-related activities, BitTorrent software, or severely CPU intensive CGI scripts (e.g. chat scripts, scripts which have bugs causing them to not close properly after being run) are not encouraged. IRC bots and bouncers (BNC) as well as BitTorrent software specifically may not be run on any DreamHost Webhosting server, and if your processes are adversely affecting server performance disproportionately DreamHost Webhosting reserves the right to negotiate additional charges with the Customer and/or the discontinuation of the offending processes."
Perl / MySQL / HTML CSS