NAME
EBook::Ishmael::EBook::PDB - ishmael PDB interface
SYNOPSIS
use EBook::Ishmael::EBook::PDB;
my $pdb = EBook::Ishmael::EBook::PDB->new($file);
DESCRIPTION
EBook::Ishmael::EBook::PDB is a simple interface for reading Palm PDB files. For ishmael user documentation, you should consult its manual (this is developer documentation).
METHODS
$p = EBook::Ishmael::EBook::PDB->new($pdb)
Returns a blessed EBook::Ishmael::EBook::PDB
object representing the given PDB file $pdb
.
$n = $p->name()
Returns the PDB's name (with the null characters stripped out).
$a = $p->attributes()
Returns the PDB's attribute bitfield.
$v = $p->version()
Returns the PDB's version.
$c = $p->cdate()
Returns the PDB's creation date.
$m = $p->mdate()
Returns the PDB's modification date.
$b = $p->bdate()
Returns the PDB's backup date.
$m = $p->modnum()
Returns the PDB's modification number.
$a = $p->app_info()
Returns the PDB's app info area offset.
$s = $p->sort_info()
Returns the PDB's sort info area offset.
$t = $p->type()
Returns the PDB's type.
$c = $p->creator()
Returns the PDB's creator.
$u = $p->uid_seed()
Returns the PDB's UID seed.
$n = $p->next_rec_list()
Returns the PDB's next record list (should always be 0
).
$r = $p->recnum()
Returns the PDB's record count.
$r = $p->record($rec)
Returns the $r
th record object in the PDB object.
@r = $p->records()
Returns array of record objects in the PDB object.
$s = $p->size()
Returns the PDB's size.
AUTHOR
Written by Samuel Young, <samyoung12788@gmail.com>.
This project's source can be found on its Codeberg Page. Comments and pull requests are welcome!
COPYRIGHT
Copyright (C) 2025 Samuel Young
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.