X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=perl%2FQSL.pm;h=1738ed6ed67831072d1a97754717a22b100898e0;hb=7f38719941b040ae64358fece992179c5938d609;hp=9ed00f30d1c37ec2049d89d63d662db1fac7dffa;hpb=b9dffeff7239952814342dad19db3a51def6fab7;p=spider.git diff --git a/perl/QSL.pm b/perl/QSL.pm index 9ed00f30..1738ed6e 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,7 +58,7 @@ sub new return bless [uc $call, []], $pkg; } -# the format of each entry is [manager, times found, last time] +# the format of each entry is [manager, times found, last time, last reporter] sub update { return unless $dbm;