use strict; use warnings; my $weather = do "weather.txt"; print $_->{xml_api_reply}->{weather}->{forecast_information}->{city}-> +{-data},$/ for @$weather;
Prints:
Miami, FL Boston, MA
In reply to Re^3: Open and parsing a file with array of hashes!?
by hbm
in thread Open and parsing a file with array of hashes!?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |