EBook::Ishmael::PDB(3)

NAME
EBook::Ishmael::PDB - ishmael PDB interface

SYNOPSIS
  use EBook::Ishmael::PDB;

  my $pdb = EBook::Ishmael::PDB->new($file);

DESCRIPTION
EBook::Ishmael::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::PDB->new($pdb)
Returns a blessed "EBook::Ishmael::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 $rth 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 <https://codeberg.org/1-1sam/ishmael>. 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.

SEE ALSO
EBook::Ishmael::PDB::Record