1Palm::Raw(3) User Contributed Perl Documentation Palm::Raw(3)
2
3
4
6 Palm::Raw - Handler for "raw" Palm databases
7
9 This document describes version 1.400 of Palm::Raw, released March 7,
10 2015 as part of Palm-PDB version 1.400.
11
13 use Palm::Raw;
14
15 For standalone programs.
16
17 use Palm::Raw();
18 @ISA = qw( Palm::Raw );
19
20 For Palm::PDB helper modules.
21
23 The Raw PDB handler is a helper class for the Palm::PDB package. It is
24 intended as a generic handler for any database, or as a fallback
25 default handler.
26
27 If you have a standalone program and want it to be able to parse any
28 type of database, use
29
30 use Palm::Raw;
31
32 If you are using Palm::Raw as a parent class for your own database
33 handler, use
34
35 use Palm::Raw();
36
37 If you omit the parentheses, Palm::Raw will register itself as the
38 default handler for all databases, which is probably not what you want.
39
40 The Raw handler does no processing on the database whatsoever. The
41 AppInfo block, sort block, records and resources are simply strings,
42 raw data from the database.
43
44 By default, the Raw handler only handles record databases (.pdb files).
45 If you want it to handle resource databases (.prc files) as well, you
46 need to call
47
48 &Palm::PDB::RegisterPRCHandlers("Palm::Raw", "");
49
50 in your script.
51
52 AppInfo block
53 $pdb->{appinfo}
54
55 This is a scalar, the raw data of the AppInfo block.
56
57 Sort block
58 $pdb->{sort}
59
60 This is a scalar, the raw data of the sort block.
61
62 Records
63 @{$pdb->{records}Z<>};
64
65 Each element in the "records" array is a reference-to-hash. In addition
66 to the standard keys ("attributes", "category", and "id"), this hash
67 contains the key "data"; its value is a string with the raw record
68 data.
69
70 Resources
71 @{$pdb->{resources}Z<>};
72
73 Each element in the "resources" array is a reference-to-hash. In
74 addition to the standard keys ("type" and "id"), it contains the key
75 "data"; its value is a string with the raw resource data.
76
78 Palm::PDB
79
81 Palm::Raw requires no configuration files or environment variables.
82
84 None reported.
85
87 No bugs have been reported.
88
90 Andrew Arensburger "<arensb AT ooblick.com>"
91
92 Currently maintained by Christopher J. Madsen "<perl AT cjmweb.net>"
93
94 Please report any bugs or feature requests to
95 "<bug-Palm-PDB AT rt.cpan.org>" or through the web interface at
96 <http://rt.cpan.org/Public/Bug/Report.html?Queue=Palm-PDB>.
97
98 You can follow or contribute to Palm-PDB's development at
99 <https://github.com/madsen/Palm-PDB>.
100
102 This software is copyright (c) 2000 by Andrew Arensburger.
103
104 This is free software; you can redistribute it and/or modify it under
105 the same terms as the Perl 5 programming language system itself.
106
108 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
109 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
110 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
111 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
112 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
113 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
114 ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
115 YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
116 NECESSARY SERVICING, REPAIR, OR CORRECTION.
117
118 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
119 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
120 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENSE, BE LIABLE
121 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
122 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
123 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
124 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
125 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
126 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
127 DAMAGES.
128
129
130
131perl v5.28.1 2015-03-07 Palm::Raw(3)