X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=cdd7393d21803c8f85931cf525e79664bec6eb89;hb=9da1742219a27b1c02fd57794412088e4d7b3d1d;hp=2e4afe023c2c72ba6b1fa4fa85df875986213c2d;hpb=7bba989c01312790704a42153bbd87bcbb3f084e;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 2e4afe02..cdd7393d 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -8,7 +8,7 @@ package Spot; -use FileHandle; +use IO::File; use DXVars; use DXDebug; use DXUtil; @@ -105,7 +105,7 @@ sub search my $ref; my $i; my $count; - my @today = Julian::unixtoj(time); + my @today = Julian::unixtoj(time()); my @fromdate; my @todate;