Parse::IRCLog::Result - results of parsing an IRC logfile
version 1.106
use Parse::IRCLog; $result = Parse::IRCLog->parse("perl-2004-02-01.log"); my %to_print = ( msg => 1, action => 1 ); for ($result->events) { next unless $to_print{ $_->{type} }; print "$_->{nick}: $_->{text}\n"; }
See Parse::IRCLog. This module describes the result of parsing.
my $result = $class->new(@events);
This method is not user-serviceable. It is called by Parse::IRCLog to create the Result object.
This method returns the list of events in the result set.
Provide iterator functionality. Five minutes of looking didn't find a mixin class for iterators, so I might end up just delegating iterator methods to a tied array object or something. This can wait.
Ricardo SIGNES <rjbs@cpan.org>
This software is copyright (c) 2004 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Parse::IRCLog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::IRCLog
CPAN shell
perl -MCPAN -e shell install Parse::IRCLog
For more information on module installation, please visit the detailed CPAN module installation guide.