[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [coldsync-hackers] Palm::PDB::Datebook



On Sat, 27 Jan 2001, Rich Bowen wrote:
> One of the example conduits - the Philcon conduit - uses
> Palm::PDB::Datebook. Where can I get that module, or what should I use
> instead? I'm attempting a simple conduit for adding events to my
> datebook.

	Use Palm::Datebook, from the p5-Palm distribution at
http://www.ooblick.com/software/coldsync/

As you can probably tell from reading the source, that's an ancient
utility (Nov. 1999). You can use it for inspiration, but don't just copy
it without understanding it.
	In particular, instead of

	my $record = {};
	$record->{"month"} = 11;
	push @{$pdb->{"records"}}, $record;

you should use

	my $record;
	$record = $pdb->append_Record;
	$record->{month} = 11;

-- 
Andrew Arensburger                      This message *does* represent the
arensb@ooblick.com			views of ooblick.com
	  I went to San Francisco. I found someone's heart.


-- 
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.