App::HWD::Work - Work completed on HWD projects


Used only by the hwd application.

Note that these functions are pretty fragile, and do almost no data checking.



Returns an App::HWD::Work object from an input line

App::HWD::Work->new( { args } )

Creates a new task from the args passed in. They should include at least level, name and id, even if id is undef.

$work->set( $key => $value )

Sets the $key field to $value.


Returns who did the work


Returns the when of the work as a string.


Returns the when of the work as a DateTime object.


Returns the ID of the work that was worked on.


Returns the hours spent.


Returns a boolean that says whether the work was completed or not.


Returns the comment from the file, if any.


Andy Lester, <andy at>


Copyright 2006 Andy Lester, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.