in reply to Re: Perl and Palm Files
in thread Perl and Palm Files

Thanks for the tip hossman.

My application is web based, and will allow for the uploading of an (address|date|et al).pdb for the migrating of the data into an sql database, and will also allow for the downloading of a .pdb file (ie it will be created from scratch via an SQL database).

I havent put much too much thought into duplicate records yet.. perhaps i'll use store an MD5 (or sha1) of the record in the database.

I guess i've got a lot more thinking/planning to do.

Replies are listed 'Best First'.
Re: Re: Re: Perl and Palm Files
by Beatnik (Parson) on Feb 03, 2002 at 23:04 UTC
    Palm handles duplicate records thru IDs... (see my above listed code on adding a record). If you have the ID in the SQL DB (like I did on my project), and you make that field the unique record key, you can trap any duplicates from being added.

    In other words, a record is only duplicate if you consider it duplicate :)

    Greetz
    Beatnik
    ... Quidquid perl dictum sit, altum viditur.