Install libpoe-component-irc-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libpoe-component-irc-perl
POE Component for manipulating IRC sessions
POE::Component::IRC is a POE component which acts as an easily controllable IRC client for your other POE components and sessions. You create an IRC component and tell it what events your session cares about and where to connect to, and it sends back interesting IRC events when they happen. You make the client do things by sending it events.