You did exactly what I suggested you don't do. Don't look at the whole. These are the things you actually need to do:
They're all independent. Nothing in there even suggests that you have a nested structure in memory.
The hard part:
print("$country_name/$province_name/$city_name/$neighbourhood_name\n") if $neighbourhood_name =~ /^k/i;
In reply to Re^3: Nested Data Structures for Dummies?
by ikegami
in thread Nested Data Structures for Dummies?
by jedikaiti
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |