Parse::IRCLog::Result - results of parsing an IRC logfile


Parse-IRCLog documentation  | view source Contained in the Parse-IRCLog distribution.

Index


NAME

Top

Parse::IRCLog::Result -- results of parsing an IRC logfile

VERSION

Top

version 1.104

SYNOPSIS

Top

	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";
	}

DESCRIPTION

Top

See Parse::IRCLog. This module describes the result of parsing.

METHODS

Top

new(@events)

This method is not user-serviceable. It is called by Parse::IRCLog to create the Result object.

events

This method returns the list of events in the result set.

TODO

Top

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.

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT

Top


Parse-IRCLog documentation  | view source Contained in the Parse-IRCLog distribution.