从Openweathermap API获取“预计M小时会下X毫米的雨”信息

时间:2018-07-20 14:59:15

标签: openweathermap

您将如何开始从Openweathermap API中提取以下信息: while(my $line=<F>) { # logfile pattern 31.05.2018 03:25:50 --- Start Deaktiviere PKonten --- $line =~ /^\s*([\d.]+) ([\d:]+) --- (.*) -.*\s*$/; $timestamp=join(" ",$1,$2); $action=$3; push @{$results{$action}} ,$timestamp; }

0 个答案:

没有答案