X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=9fcf3280d95ad8359516ee58c26e168114bb6f78;hb=3525b8b90ab568e06f57d12c4c3ad9610b9e71f9;hp=3bfee12a3ccb06355bd64d4700ce3f3f91b4547b;hpb=b1f9b4650ed8fdeb1e03834f076f3040ce65776a;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 3bfee12a..9fcf3280 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -89,7 +89,7 @@ sub decodefreq foreach $f (@f) { my ($a, $b); - if (m{^\d+/\d+$}) { + if ($f =~ m{^\d+/\d+$}) { push @out, $f; } elsif (($a, $b) = $f =~ m{^(\w+)(?:/(\w+))?$}) { $b = lc $b if $b;