Subject: | connections |
A loop around all districts entries fails after c.1020 entries
foreach $Pcode (sort @Districts){
$postcode = Geo::Postcode->new($Pcode);
next unless $postcode->valid_fragment;
($n, $e) = $postcode->coordinates;
print "$Pcode : $n $e\n";
}
Looks like it runs out of descriptors.
Tried to split it into blocks (eg A-G, H-M etc) but looks like file
descriptors are not being released.