Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

CPAN module for parsing IRC logs?

by mldvx4 (Friar)
on Oct 02, 2019 at 08:35 UTC ( [id://11106941]=perlquestion: print w/replies, xml ) Need Help??

mldvx4 has asked for the wisdom of the Perl Monks concerning the following question:

I'm not familiar with IRC but would nonetheless like to find a module that can parse IRC logs like the following. At the minimum I'd like it to identify the discussion and handle it differently than the administrivia like joining, splits, and quitting the channel.

. . . Jul 21 00:43:25 --> xxxxxx__ (~xxxx@xxxx.com) has joined #xxxxxxxx Jul 21 01:00:02 --> xxxxxx_xxx (~xx@xx.xx.com) has joined #xxxxxxxx Jul 21 02:16:07 <-- xxxxxxxx has quit (Ping timeout: 245 seconds) Jul 21 05:39:01 <xxxxxxx> xx xxxxxx xxxx x xxxxxx xxxxx/xxx? Jul 21 05:39:02 <xxxxxxx> xxxx x xxxxx xxx xxxx xxxx .... Jul 21 05:39:11 <xxxxxxx> xxx'x xxxxxxxx x'x xxxxx xx xxxxxxx xxxx Jul 21 08:33:22 <-- xxxxxx_xxx has quit (Quit: Leaving.) Jul 21 09:28:46 --- xxxxxx gives voice to xxxxxx__ xxxxxxx . . .

Based on experience, is there such a module? If so, again based on experience, which one(s) would be appropriate?

Replies are listed 'Best First'.
Re: CPAN module for parsing IRC logs?
by tobyink (Canon) on Oct 02, 2019 at 09:03 UTC

    Different IRC clients are going to log things in different formats. Parse::IRCLog looks like it should handle many common formats though.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11106941]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-03-29 11:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found