open DUMP, ">$dump_path" or die "Couldn't open file to dump: $!"; print DUMP Data::Dumper->Dump([\%coords], ['coords']); close DUMP; # close the city dump