.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Palm::Raw 3pm" .TH Palm::Raw 3pm 2024-03-07 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Palm::Raw \- Handler for "raw" Palm databases .SH VERSION .IX Header "VERSION" This document describes version 1.400 of Palm::Raw, released March 7, 2015 as part of Palm-PDB version 1.400. .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use Palm::Raw; .Ve .PP For standalone programs. .PP .Vb 2 \& use Palm::Raw(); \& @ISA = qw( Palm::Raw ); .Ve .PP For Palm::PDB helper modules. .SH DESCRIPTION .IX Header "DESCRIPTION" The Raw PDB handler is a helper class for the Palm::PDB package. It is intended as a generic handler for any database, or as a fallback default handler. .PP If you have a standalone program and want it to be able to parse any type of database, use .PP .Vb 1 \& use Palm::Raw; .Ve .PP If you are using Palm::Raw as a parent class for your own database handler, use .PP .Vb 1 \& use Palm::Raw(); .Ve .PP If you omit the parentheses, Palm::Raw will register itself as the default handler for all databases, which is probably not what you want. .PP The Raw handler does no processing on the database whatsoever. The AppInfo block, sort block, records and resources are simply strings, raw data from the database. .PP By default, the Raw handler only handles record databases (.pdb files). If you want it to handle resource databases (.prc files) as well, you need to call .PP .Vb 1 \& &Palm::PDB::RegisterPRCHandlers("Palm::Raw", ""); .Ve .PP in your script. .SS "AppInfo block" .IX Subsection "AppInfo block" .Vb 1 \& $pdb\->{appinfo} .Ve .PP This is a scalar, the raw data of the AppInfo block. .SS "Sort block" .IX Subsection "Sort block" .Vb 1 \& $pdb\->{sort} .Ve .PP This is a scalar, the raw data of the sort block. .SS Records .IX Subsection "Records" .Vb 1 \& @{$pdb\->{records}Z<>}; .Ve .PP Each element in the "records" array is a reference-to-hash. In addition to the standard keys ("attributes", "category", and "id"), this hash contains the key "data"; its value is a string with the raw record data. .SS Resources .IX Subsection "Resources" .Vb 1 \& @{$pdb\->{resources}Z<>}; .Ve .PP Each element in the "resources" array is a reference-to-hash. In addition to the standard keys ("type" and "id"), it contains the key "data"; its value is a string with the raw resource data. .SH "SEE ALSO" .IX Header "SEE ALSO" Palm::PDB .SH "CONFIGURATION AND ENVIRONMENT" .IX Header "CONFIGURATION AND ENVIRONMENT" Palm::Raw requires no configuration files or environment variables. .SH INCOMPATIBILITIES .IX Header "INCOMPATIBILITIES" None reported. .SH "BUGS AND LIMITATIONS" .IX Header "BUGS AND LIMITATIONS" No bugs have been reported. .SH AUTHORS .IX Header "AUTHORS" Andrew Arensburger \f(CW\*(C`\*(C'\fR .PP Currently maintained by Christopher J. Madsen \f(CW\*(C`\*(C'\fR .PP Please report any bugs or feature requests to \f(CW\*(C`\*(C'\fR or through the web interface at . .PP You can follow or contribute to Palm-PDB's development at . .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2000 by Andrew Arensburger. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. .SH "DISCLAIMER OF WARRANTY" .IX Header "DISCLAIMER OF WARRANTY" BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION. .PP IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.