1. put some extra checks and balances in to message send routine in Msg.pm to
[spider.git] / perl / Spot.pm
index 7302193a9c3bfb462bfbbc9f4ff23871dd46b2b9..d663c9bd3e973a82e1a9b55637ab96255c4d1a49 100644 (file)
@@ -29,7 +29,7 @@ $dirprefix = "spots";
 sub init
 {
        mkdir "$dirprefix", 0777 if !-e "$dirprefix";
-       $fp = DXLog::new($dirprefix, "dat", 'd')
+       $fp = DXLog::new($dirprefix, "dat", 'd');
 }
 
 sub prefix
@@ -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;