X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=ed78b40cefb7e22e8c55ffd546c95d50bca344bc;hb=b9dffeff7239952814342dad19db3a51def6fab7;hp=4d87be3723e2317d8b7d6718da37dd9bfb66ed55;hpb=519f5b39d7b1a035aff12a7ceda4f135b2db1d93;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 4d87be37..ed78b40c 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -21,12 +21,6 @@ use QSL; use strict; -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($fp $statp $maxspots $defaultspots $maxdays $dirprefix $duplth $dupage $filterdef $totalspots $hfspots $vhfspots $maxcalllth); $fp = undef; @@ -394,7 +388,8 @@ sub dup # remove SSID or area $by =~ s|[-/]\d+$||; - $freq = sprintf "%.1f", $freq; # normalise frequency +# $freq = sprintf "%.1f", $freq; # normalise frequency + $freq = int $freq; # normalise frequency $call = substr($call, 0, $maxcalllth) if length $call > $maxcalllth; chomp $text;