minor doc change in QSL.pm
[spider.git] / perl / QSL.pm
index 20d5c6143f139e656ab3a4c325fa7a1872fa78da..6649c7a76f9f30b68c78b876fe1f4dd0fd283e34 100644 (file)
@@ -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
 {