Parse::IRC provides a convenient way of parsing lines of text conforming to the IRC protocol ( see RFC1459 or RFC2812 ). WWW: https://metacpan.org/release/Parse-IRC