Osgood::Event - An Osgood Event
Events are characterized by an object and an action, which could be though of as a noun and a verb. The date_occurred is also important and, hopefully, self-explanatory. To round out the event there is a params method that accepts a HashRef for name value pairs.
Note: object and action names are limited to 64 characters.
my $event = Osgood::Event->new(object => 'Test', action => 'create');
Creates a new Osgood::Event object. Requires an object and action. If no date_occurred is specifed, then the DateTime-now> is used.
DateTime-
The action this event represents.
The date and time this event occurred
The object this event pertains to.
A HashRef of name-value pairs for this event.
Allows setting a single name value pair directly.
Get the value of the specifed key.
Cory 'G' Watson <gphat@cpan.org>
perl(1), Osgood::EventList
Copyright 2008-2009 by Magazines.com, LLC
You can redistribute and/or modify this code under the same terms as Perl itself.
To install Osgood::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Osgood::Client
CPAN shell
perl -MCPAN -e shell install Osgood::Client
For more information on module installation, please visit the detailed CPAN module installation guide.