in reply to How do I modularize a script to use plugins
Since you're already using PoCo::IRC, take a look at POE::Component::IRC::Plugin.