foreach my $region (@regions) { # something happening in the loop }