Palm::ToDo - Handler for Palm ToDo databases. |
Palm::ToDo - Handler for Palm ToDo databases.
use Palm::ToDo;
The ToDo PDB handler is a helper class for the Palm::PDB package. It parses ToDo databases.
The AppInfo block begins with standard category support. See the Palm::StdAppInfo manpage for details.
Other fields include:
$pdb->{appinfo}{dirty_appinfo} $pdb->{appinfo}{sortOrder}
I don't know what these are.
$pdb->{sort}
This is a scalar, the raw data of the sort block.
$record = $pdb->{records}[N]
$record->{due_day} $record->{due_month} $record->{due_year}
The due date of the ToDo item. If the item has no due date, these are undefined.
$record->{completed}
This is defined and true iff the item has been completed.
$record->{priority}
An integer. The priority of the item.
$record->{description}
A text string. The description of the item.
$record->{note}
A text string. The note attached to the item. Undefined if the item has no note.
$pdb = new Palm::ToDo;
Create a new PDB, initialized with the various Palm::ToDo fields and an empty record list.
Use this method if you're creating a ToDo PDB from scratch.
$record = $pdb->new_Record;
Creates a new ToDo record, with blank values for all of the fields.
Andrew Arensburger <arensb@ooblick.com>
Palm::PDB(3)
Palm::StdAppInfo(3)
Palm::ToDo - Handler for Palm ToDo databases. |