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 | 0c4d05f54a2c18bef35bf2b2429d942e386346c7 (patch) | |
tree | da8dd6bda45641b666c2b9d62ca9aa750e958048 | |
parent | 542d2cd418f1e0feb62de72f5d34e419e38abc7d (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"; |