projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove empty forward/mail command
[spider.git]
/
perl
/
QSL.pm
diff --git
a/perl/QSL.pm
b/perl/QSL.pm
index 9ed00f30d1c37ec2049d89d63d662db1fac7dffa..6649c7a76f9f30b68c78b876fe1f4dd0fd283e34 100644
(file)
--- a/
perl/QSL.pm
+++ b/
perl/QSL.pm
@@
-18,10
+18,12
@@
use vars qw($qslfn $dbm);
$qslfn = 'qsl';
$dbm = undef;
$qslfn = 'qsl';
$dbm = undef;
+localdata_mv("$qslfn.v1");
+
sub init
{
my $mode = shift;
sub init
{
my $mode = shift;
- my $ufn =
"$main::root/data/$qslfn.v1"
;
+ my $ufn =
localdata("$qslfn.v1")
;
Prefix::load() unless Prefix::loaded();
Prefix::load() unless Prefix::loaded();
@@
-56,7
+58,9
@@
sub new
return bless [uc $call, []], $pkg;
}
return bless [uc $call, []], $pkg;
}
-# the format of each entry is [manager, times found, last time]
+# 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
{
return unless $dbm;
sub update
{
return unless $dbm;