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 | b001bec7f5d427aa33d7561351e568aeeb0d75bf (patch) | |
tree | 5869c65b0f30b2400dfd87dc1383e79d14068f80 /kachelmann/conditions.pl | |
parent | 91fe7fe87d71377db0ef16083f00450d0cab26d3 (diff) |
Changed the output
Diffstat (limited to 'kachelmann/conditions.pl')
-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"; |