Mercurial > hg > egg-tcls
comparison fetch_weather.pl @ 166:c8d5f3a7c4b7
Add debug option.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 02 Jun 2014 20:25:31 +0300 |
parents | d5a0e4248f3e |
children | 7eee54638b0f |
comparison
equal
deleted
inserted
replaced
165:ff64ef21c20d | 166:c8d5f3a7c4b7 |
---|---|
5 use XML::Simple; | 5 use XML::Simple; |
6 use Text::Iconv; | 6 use Text::Iconv; |
7 use Date::Parse; | 7 use Date::Parse; |
8 use Data::Dumper; | 8 use Data::Dumper; |
9 | 9 |
10 | |
10 ### | 11 ### |
11 ### Globals | 12 ### Globals |
12 ### | 13 ### |
13 my %settings = ( | 14 my %settings = ( |
15 "debug" => 0, | |
14 "opt_fmi" => 0, | 16 "opt_fmi" => 0, |
15 "opt_tiehallinto" => 0, | 17 "opt_tiehallinto" => 0, |
16 "fmi_api_key" => "", | 18 "fmi_api_key" => "", |
17 "outfile" => "", | 19 "outfile" => "", |
18 ); | 20 ); |