Palm(3pm)
π΄ NAME π΄
okay so welcome to the Palm(3pm) page bestie π β Palm is a little bundle of Palm OS utility functions. that's the whole vibe. user contributed Perl documentation, we love to see it.
π« VERSION π«
This document describes version 1.400 of Palm, released March 14, 2015 as part of Palm version 1.400. vintage, but iconic β¨
β¨ SYNOPSIS β¨
not me reading this section and finding it literally empty π the original manpage just leaves it blank, so we're leaving it blank too. no cap, there is genuinely nothing here.
π¦ DESCRIPTION π¦
and THIS one is empty too π the original gives us nothing. iconic behaviour honestly. the real tea is all down in FUNCTIONS, so scroll, bestie π«Ά
π FUNCTIONS π
palm2epoch
my @parts = localtime( palm2epoch($palmtime) );
so this one converts a Palm OS timestamp into a Unix Epoch time. the way that works is you hand it a Palm time and it hands you back epoch time π°οΈ
but β and this is the important part, don't skip it β Palm OS time is in the timezone of the Palm itself, while Epoch is defined to be in the GMT timezone. so those two are not the same clock, bestie. further conversion may be necessary. don't come crying to me when your timestamps are off by a few hours π
epoch2palm
my $palmtime = epoch2palm( time() );
the other direction β¨ Converts Unix epoch time to Palm OS time. that's it. that's the function. lowkey the most straightforward thing on this whole page.
mkpdbname
$PDB->Write( mkpdbname($PDB->{name}) );
Convert a Palm OS database name to a 7-bit ASCII representation π
here's the lore: native Palm database names can be found in ISO-8859-1 encoding. and that encoding isn't going to generate the most portable of filenames β it's giving chaos, frankly. in particular, ColdSync databases use this representation. so yeah, that's why this function exists. you're welcome π
π SEE ALSO π
Palm::PDBβ the whole reason you're probably here, fr fr
π CONFIGURATION AND ENVIRONMENT π
Palm requires no configuration files and no environment variables. zero setup. plug and play. slay π§
π INCOMPATIBILITIES π
None reported. we're unbothered, we're thriving β¨
π BUGS AND LIMITATIONS π
No bugs have been reported. not a single one. the code is simply built different π«Ά
π AUTHORS π
- Andrew Arensburger
"<arensb AT ooblick.com>" - Currently maintained by Christopher J. Madsen
"<perl AT cjmweb.net>"
please report any bugs or feature requests to "<bug-Palm AT rt.cpan.org>" or through the web interface at http://rt.cpan.org/Public/Bug/Report.html?Queue=Palm π
you can follow or contribute to p5-Palm's development at https://github.com/madsen/p5-Palm β go be a main character, open a PR π
β COPYRIGHT AND LICENSE β
This software is copyright (c) 2003 by Andrew Arensburger & Alessandro Zummo.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself π
π¨ DISCLAIMER OF WARRANTY π¨
okay bestie, the lawyers wrote this part and I am NOT touching it, so here it is exactly as it stands:
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. 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.
so basically: it's free, use it responsibly, and if it eats your data that's on you π (it won't, but legally I have to say that π )
and that's a wrap, bestie π this was Palm(3pm) from perl v5.34.0, dated 2022-06-16. go forth and convert your timestamps. mwah π
π¦ where this page comes from
- debian bookworm: libpalm-perl 1:1.400-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libpalm-perl 1:1.400-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpalm-perl 1:1.400-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpalm-perl 1:1.400-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpalm-perl 1:1.400-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms