diff options
author | Momo <momorientes@online.de> | 2011-08-05 23:30:54 +0200 |
---|---|---|
committer | Momo <momorientes@online.de> | 2011-08-05 23:30:54 +0200 |
commit | f5d08ee4d24f4dfabbb20aad2f548e7d93f44d44 (patch) | |
tree | a58e2f5df759a3a3f7d480aae595646c2a736efb | |
parent | 6cd1e21b3994911c0d3ec705168eb82d73e807a1 (diff) |
Changed the output
-rw-r--r-- | kachelmann/conditions.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kachelmann/conditions.pl b/kachelmann/conditions.pl index feabe6aa..c61e0b8b 100644 --- a/kachelmann/conditions.pl +++ b/kachelmann/conditions.pl @@ -3,4 +3,4 @@ use XML::Simple; system("w3m -dump \"http://www.google.com/ig/api?weather=70327-stuttgart&hl=de\" > weather.xml"); my $xml = new XML::Simple; my $data = $xml->XMLin("weather.xml"); -print "Draussen ist $data->{weather}->{current_conditions}->{condition}->{data}\n bei $data->{weather}->{current_conditions}->{temp_c}->{data} Grad Celsius\n"; +print "Die Wetterkondition ist: $data->{weather}->{current_conditions}->{condition}->{data}\n bei $data->{weather}->{current_conditions}->{temp_c}->{data} Grad Celsius\n"; |