X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fwwv.pl;h=9ff5cb5808682c74e528b672862e5cbebbbb8b01;hb=613301f150d03d194b6c64542d4809c74b1986c6;hp=3b0397fce0526569d294eedbb92d1e11c8c8e7f2;hpb=56c9ecfcd367bd05b9e6a5a6a8fa94e571dda9af;p=spider.git diff --git a/cmd/wwv.pl b/cmd/wwv.pl index 3b0397fc..9ff5cb58 100644 --- a/cmd/wwv.pl +++ b/cmd/wwv.pl @@ -36,9 +36,10 @@ my @out; my $hour = (gmtime $main::systime)[2]; my $d = int ($main::systime / 3600) * 3600 + 18 * 60; +$line = unpad($line); + my @l = split /\s*,\s*/, $line; my $forecast = pop @l; -$forecast = unpad($forecast); # make a hash out of the args my %args = map {split /\s*=\s*/, lc $_} @l;