The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Palm::Timesheet::EntryRecord - A Timesheet record entry

DESCRIPTION

Encapsulates a timesheet record. Access is allowed with some getters and setters. You can also create a new() record from scratch or rely upon a PDB record to create one from.

Constructors

new( %args )

Create a new record with the following arguments:

my %args = {
	client => $index_in_client_list,
	project => $index_in_project_list,
	task => $index_in_task_list,
	hour => 2,
	min => 30,
	comment => 'A lot of work, that documenting!',
	chargeable => 1
};
from_record( $record )

Create one from a PDB record

Other methods

get/set_client
get/set_project
get/set_task
get/set_hour
get/set_min
get/set_comment
get/set_chargeable
pack

Serialize into a PDB record.

COPYRIGHT

Copyright (c) 2001, Johan Van den Brande. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.