App::JobLog::Log::Note - timestamped annotation in log
version 1.042
A wrapper for a log line that represents a timestamped and optionally tagged note.
Basic constructor. Expects single App::JobLog::Log::Line argument. Can be called on instance or class.
Create a duplicate of this event.
Returns App::JobLog::Log::Line object on which this event is based.
Start of event. Is lvalue method.
Tags of event (array reference). Is lvalue method.
Whether there are any tags.
Returns tags as list rather than reference.
Returns the log line's description.
Expects a list of tags. Returns true if event contains any of them.
Expects a list of tags. Returns whether event contains all of them.
Used to sort events. E.g.,
my @sorted_events = sort { $a->cmp($b) } @unsorted;
Returns note itself. This method is overridden by the event object and used in event summarization.
Whether this note overlaps the given period.
Whether this "note" (events are a subclass of note) is just a note.
Returns false: notes have no duration so they cannot be open.
David F. Houghton <dfhoughton@gmail.com>
This software is copyright (c) 2011 by David F. Houghton.
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 App::JobLog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::JobLog
CPAN shell
perl -MCPAN -e shell install App::JobLog
For more information on module installation, please visit the detailed CPAN module installation guide.