NAME
Osgood::EventList - A list of Osgood events.
DESCRIPTION
A list of events.
SYNOPSIS
my $list = new Osgood::EventList();
$list->add_to_events($event);
print $list->size()."\n";
METHODS
Constructor
- new
-
Creates a new Osgood::EventList object.
Class Methods
- add_to_events
-
Add the specified event to the list.
- events
-
Set/Get the ArrayRef of events in this list.
- iterator
-
Returns a MooseX::Iterator for iterating over events.
- size
-
Returns the number of events in this list.
- get_highest_id
-
Retrieves the largest id from the list of events. This is useful for keeping state with an external process that needs to 'remember' the last event id it handled.
AUTHOR
Cory 'G' Watson <gphat@cpan.org>
SEE ALSO
perl(1), Osgood::Event
COPYRIGHT AND LICENSE
Copyright 2008 by Magazines.com, LLC
You can redistribute and/or modify this code under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 93:
You forgot a '=back' before '=head1'