projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow - in filters
[spider.git]
/
perl
/
Spot.pm
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index 4c7ab06e3bd94b15b7f6be5afcc4a6f5085244f2..9c10796b8ef4f924f9dc46cbb4eeb9c5053d5cb2 100644
(file)
--- a/
perl/Spot.pm
+++ b/
perl/Spot.pm
@@
-44,6
+44,14
@@
$filterdef = bless ([
], 'Filter::Cmd');
], 'Filter::Cmd');
+# create a Spot Object
+sub new
+{
+ my $class = shift;
+ my $self = [ @_ ];
+ return bless $self, $class;
+}
+
sub decodefreq
{
my $dxchan = shift;
sub decodefreq
{
my $dxchan = shift;
@@
-113,7
+121,7
@@
sub add
my $spotter_cq = (@dxcc > 0 ) ? $dxcc[1]->cq() : 0;
push @out, $spotter_dxcc;
push @out, $spot[5];
my $spotter_cq = (@dxcc > 0 ) ? $dxcc[1]->cq() : 0;
push @out, $spotter_dxcc;
push @out, $spot[5];
-
+
my $buf = join("\^", @out);
# compare dates to see whether need to open another save file (remember, redefining $fp
my $buf = join("\^", @out);
# compare dates to see whether need to open another save file (remember, redefining $fp