/usr/lib/perl5/PDA/dump.pl is in libpda-pilot-perl 0.12.5-6ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/usr/bin/env perl
use strict;
# use warnings;
# use diagnostics;
use PDA::Pilot;
use Data::Dumper;
print "Now press the HotSync button (defaults to /dev/pilot)\n";
my $socket = PDA::Pilot::openPort("/dev/ttyqe") or die "$!";
my $dlp = PDA::Pilot::accept($socket);
my $db = $dlp->open("DatebookDB");
my $r;
my $i = 0;
while(defined($r = $db->getRecord($i++))) {
print Dumper($r);
}
|