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 | 1fd707a920e67051c6d9143d3a720421fef0fa4a (patch) | |
tree | b900aeea756a53b24b21eb4dabf2c6597defff3b | |
parent | c73c481e69f886f4d1e725ab42573ff8926d386e (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"; |