my $date = shift;
my $time = shift;
- return 0 unless /^\s*(\d+)-(\w\w\w)-([12][90]\d\d)$/;
+ return 0 unless $date =~ /^\s*(\d+)-(\w\w\w)-([12][90]\d\d)$/;
$date = "$1 $2 $3";
- return 0 unless /^(\d\d)(\d\d)Z$/;
+ return 0 unless $time =~ /^([012]\d)([012345]\d)Z$/;
$time = "$1:$2 +0000";
return str2time("$date $time");
}
@inqueue = (); # the main input queue, an array of hashes
$systime = 0; # the time now (in seconds)
-$version = "1.23"; # the version no of the software
+$version = "1.24"; # the version no of the software
$starttime = 0; # the starting time of the cluster
$lockfn = "cluster.lock"; # lock file name