Palm::PDB problem

P

p cooper

back to this after a brief respite :
Im trying to get data from my Palm , eventually to MySQL

#!/usr/bin/perl -w
use Palm::pDB;
use Palm::Raw;
use Data::Dumper;
Palm::pDB::RegisterPDBHandlers("Palm::Raw", "");
my $pdb = new Palm::pDB();
$pdb->Load("LOGBOOK.pdb");
my $array_ref = $pdb->{"records"};
#print Dumper($array_ref);
foreach $record ( @{ $array_ref})
{
#print $record;#$record is hash: #print %{$record};
$rec= $record->{'data'};
print $rec;
print "\n";
}
prints a string that seems to be values for fields ??concatenated together
Im stuck as to how to split the string.

the Palm::pDB page on CPAN also has reference to 'ParseRecord' but its not
clear to me how i cna use it in this setup
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top