X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FQSL.pm;h=6649c7a76f9f30b68c78b876fe1f4dd0fd283e34;hb=8ce3e54056026253e9e4a518b317dbbd8e71bb7a;hp=20d5c6143f139e656ab3a4c325fa7a1872fa78da;hpb=75987f0dbcbba4fc2bb5a378d14e2fbdb2e30e34;p=spider.git diff --git a/perl/QSL.pm b/perl/QSL.pm index 20d5c614..6649c7a7 100644 --- a/perl/QSL.pm +++ b/perl/QSL.pm @@ -18,10 +18,12 @@ use vars qw($qslfn $dbm); $qslfn = 'qsl'; $dbm = undef; +localdata_mv("$qslfn.v1"); + sub init { my $mode = shift; - my $ufn = "$main::root/data/$qslfn.v1"; + my $ufn = localdata("$qslfn.v1"); Prefix::load() unless Prefix::loaded(); @@ -56,6 +58,8 @@ sub new return bless [uc $call, []], $pkg; } +# called $self->update(comment, time, spotter) +# $self has the callsign as the first argument in an array of array references # the format of each entry is [manager, times found, last time, last reporter] sub update {