Here is another example using a hash link:
my $data = { city1 => { street1 => ['name', 'house no', 'senior people'], street2 => ['name','house no','senior people'], }, city2 => { street1 => etc... ... } };
Then you can access the data as follows:
$data->{'city1'}{'street1'}[0];
Or:
my @street_data = @{$data->{'city1'}{'street1'}}; print @street_data;
Logan source share