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 d7dc8b2c0fced88746f56db95bd98de9c994160c..6649c7a76f9f30b68c78b876fe1f4dd0fd283e34 100644
(file)
--- a/
perl/QSL.pm
+++ b/
perl/QSL.pm
@@
-14,20
+14,16
@@
use DB_File;
use DXDebug;
use Prefix;
use DXDebug;
use Prefix;
-use vars qw($VERSION $BRANCH);
-$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
-$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
-$main::build += $VERSION;
-$main::branch += $BRANCH;
-
use vars qw($qslfn $dbm);
$qslfn = 'qsl';
$dbm = undef;
use vars qw($qslfn $dbm);
$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();
@@
-62,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;